-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathText-Counter.html
More file actions
executable file
·52 lines (42 loc) · 1.19 KB
/
Text-Counter.html
File metadata and controls
executable file
·52 lines (42 loc) · 1.19 KB
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
42
43
44
45
46
47
48
49
50
51
52
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body {
padding: 50px 100px;
background: rgb(63, 94, 251);
background: radial-gradient(circle, rgba(63, 94, 251, 1) 0%, rgba(252, 70, 107, 1) 100%);
}
h1 {
text-align: center;
background-color: rgba(107, 109, 0, 0.522);
color: white;
padding: 10px;
margin: 0;
}
textarea {
width: 99.5%;
border-color: #f09a29;
}
p {
text-align: center;
background-color: burlywood;
}
</style>
</head>
<body>
<h1>word and character counter</h1>
<textarea name="textbox" id="textbox" cols="30" rows="10"></textarea>
<p>
<span id="word"> </span> word and
<span id="char"> </span>character
</p>
<script type="text/javascript" charset="utf-8">
const result = 3 ** 3;
console.log(result);
</script>
</body>
</html>