-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (30 loc) · 1.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Easy Word Tool | Instant Online Word Count and much more</title>
<meta name="description" content="Easy Word Tool offers instant online word count, character count, and more with a user-friendly interface. Perfect for writers, students, and anyone who needs quick text analysis.">
<link rel="stylesheet" href="assets/main.css">
</head>
<body>
<header class="flex-row flex-center">
<h1>Easy Word Tool</h1>
</header>
<main>
<div id="inputWrapper" class="flex">
<label for="userTextarea" class="screenReader-txt">Enter your text to count words and other operations:</label>
<textarea name="userText" id="userTextarea" placeholder="Enter text here" aria-placeholder="Enter text here"></textarea>
<p id="ewtCountResults" aria-haspopup="dialog" onclick="togglePopup('ewtcountResultsPopup')">Words: <span class="ewtWordCount">0</span> | Characters: <span class="ewtCharCount">0</span></p>
</div>
</main>
<footer class="flex flex-center"><p>Copyright © Easy Word Tool - <span id="copyrightYear">2024</span></p></footer>
<div id="ewtcountResultsPopup" role="dialog" aria-labelledby="popupLable" aria-hidden="true" class="ewt-popup flex-center">
<button aria-label="Close Popup" onclick="togglePopup('ewtcountResultsPopup')">×</button>
<h2 id="popupLable">Count Details</h2>
<div>Words: <span class="ewtWordCount">0</span></div>
<div>Characters: <span class="ewtCharCount">0</span></div>
</div>
<script src="assets/main.js"></script>
</body>
</html>