-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
41 lines (31 loc) · 1.06 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Word Counter</title>
<meta name="description" content="Simple word counter">
<meta name="author" content="AlessioPremoli">
<link rel="stylesheet" href="css/styles.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@400;700&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" href="favicon.png"/>
</head>
<body>
<h1>Word counter</h1>
<div class="cnt">
<div class="counters">
<div>
Words: <strong id="words">0</strong>
</div>
<div>
Characters (no withespaces): <strong id="chars">0</strong>
</div>
<div>
Characters (including withespaces): <strong id="chars-whitespace">0</strong>
</div>
</div>
<textarea id="textarea" placeholder="Write something..."></textarea>
</div>
<script src="js/word-count.js"></script>
</body>
</html>