-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (68 loc) · 2.16 KB
/
index.html
File metadata and controls
68 lines (68 loc) · 2.16 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!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" />
<script src="js/jquery-3.6.4.js"></script>
<script src="js/script.js"></script>
<link rel="stylesheet" href="css/bootstrap.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="icon" href="img/logo.png" />
<title>Text Analyzer</title>
</head>
<body>
<div class="container">
<!-- <div class="background">
<img src="img/istockphoto-1200975765-612x612.jpg" alt="" />
</div> -->
<div class="analyzer">
<h2>🔤Text Analyzer</h2>
<form id="word-counter">
<div class="form-group">
<p>Input a text passage to get a total word count:</p>
<textarea
id="text-passage"
name="text-passage"
class="form-control"
></textarea>
<div class="mt-3">
<p>
Optionally enter a word to count the number of times it occurs
in the passage:
</p>
<input type="text" id="word" name="word" class="form-control" />
</div>
<div class="mt-3">
<button type="submit" class="btn btn-info">Analyze Text</button>
</div>
</div>
</form>
<div class="wordsList p-3">
<h4>Most Common Words</h4>
<div id="mostUsed"></div>
</div>
<div class="mt-1">
<p>Total Word Count: <span id="total-count"></span></p>
</div>
<div class="mt-1">
<p>Selected Word Count: <span id="selected-count"></span></p>
</div>
<div class="mt-1">
<h5>Passage</h5>
<span id="bolded-passage"></span>
</div>
</div>
</div>
<footer>
<div class="footer__copyright">
<small
>Copyright ©
<a href="https://www.linkedin.com/in/tofunmi-kusimo/" target="_blank"
>TK Development and Studios</a
></small
>
</div>
</footer>
</body>
</html>