-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
117 lines (109 loc) · 3.69 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<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">
<meta name="application-name" content="Text IQ">
<meta name="description"
content="Text IQ: Paste and perform simple functions on your texts such as finding number of characters, auto-capitalization, finding and replacing etc. "
>
<title>Text IQ</title>
<link rel="icon" href="./favicon.png">
<link rel="stylesheet" href="./css/navbar-top-fixed.css">
<link rel="stylesheet" href="./css/style.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="../bootstrap-5.2.3-dist/css/bootstrap.min.css">
</head>
<body>
<nav class="navbar fixed-top bg-light">
<div class="container">
<h2 class="navbar-brand">
<span class="heading_text">Text</span> <span class="heading_iq">IQ</span>
</h2>
</div>
<div class="container">
<textarea
class="form-control"
rows="5"
id="input"
placeholder="Paste / enter input here"
></textarea>
</div>
<div class="container">
<button class="btn btn-danger mt-2" onclick="reset()">Clear</button>
</div>
</nav>
<br>
<br>
<br>
<br>
<br>
<br>
<div class="container mt-5">
<div class="mt-4 p-3 bg-dark text-white rounded">
<h3 class="badge bg-secondary"># of Keystrokes</h3>
<div id="nkeystr">0</div>
</div>
</div>
<div class="container mt-3">
<div class="mt-1 p-3 bg-dark text-white rounded">
<h3 class="badge bg-secondary"># of Characters</h3>
<div id="nchar">0</div>
</div>
</div>
<div class="container mt-3">
<div class="mt-1 p-3 bg-dark text-white rounded">
<h3 class="badge bg-secondary"># of Words</h3>
<p id="nword">0</p>
</div>
</div>
<div class="container mt-3">
<div class="mt-1 p-3 bg-dark text-white rounded">
<h3 class="badge bg-secondary">Uppercase Output</h3>
<textarea
disabled
class="form-control"
id="ucase"
rows="5"
placeholder="Result will appear here.">
</textarea>
</div>
</div>
<div class="container mt-3">
<div class="mt-1 p-3 bg-dark text-white rounded">
<h3 class="badge bg-secondary">Lowercase Output</h3>
<textarea
disabled
class="form-control"
id="lcase"
rows="5"
placeholder="Result will appear here.">
</textarea>
</div>
</div>
<div class="container mt-3">
<div class="mt-1 p-3 bg-dark text-white rounded">
<h3 class="badge bg-secondary">Find & Replace</h3>
<form>
<input type="text" class="form-control" id="find" placeholder="Find what?">
<input type="text" class="form-control" id="repl" placeholder="Replace with?">
<select class="form-select" id="modifier">
<option>case-sensitive</option>
<option>case-insensitive</option>
</select>
<input type="button" class="w-100 btn btn-primary" value="Submit" onclick="fnr()">
</form><br>
<textarea
disabled
class="form-control"
id="fnr"
rows="5"
placeholder="Result will appear here.">
</textarea>
</div>
</div>
<br>
<script src="./app.js"></script>
</body>
</html>