-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
50 lines (50 loc) · 2.49 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
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Word Processor</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="A simple online word processor app. It displays word, character and sentence count. It also allows you change text cases.">
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
</head>
<body>
<main>
<h1>Word Processor</h1>
<div id="controls">
<p><b>Convert input to:</b></p>
<div id="inputs-container">
<div class="input-container">
<input type="radio" name="convert-text" id="sentence-case" title="Convert text to sentence case.">
<label for=""> Sentence case </label>
</div>
<div class="input-container">
<input type="radio" name="convert-text" id="title-case" title="Convert Text To Title Case.">
<label for=""> Title Case</label>
</div>
<div class="input-container">
<input type="radio" name="convert-text" id="lower-case" title="convert text to lower case.">
<label for=""> lower case</label>
</div>
<div class="input-container">
<input type="radio" name="convert-text" id="upper-case" title="CONVERT TEXT TO UPPER CASE.">
<label for=""> UPPER CASE</label>
</div>
</div>
</div>
<aside id="word-counter-container">
<h2> Word count </h2>
<div id="word-counter">
<p id="character-count"><span class="character-count-span">0</span> characters</p>
<p id="word-count"><span class="word-count-span">0</span> words</p>
<p id="sentence-count"><span class="sentence-count-span">0</span> sentences</p>
<p id="most-used-word">Most used word: <span class="most-used-word-span"></span></p>
</div>
</aside>
<div id="word-input-container">
<textarea name="word-input" id="word-input" placeholder="Start typing"></textarea>
</div>
</main>
</body>
<script src="index.js"></script>
</html>