-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (33 loc) · 1.24 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Palindrome Checker</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main class="container">
<h1 class="title">Is it a Palindrome?</h1>
<div class="palindrome-div">
<label for="text-input">Enter in text to check for a palindrome:
</label>
<input class="palindrome-input" id="text-input" value="" type="text">
<button class="palindrome-btn" id="check-btn">Check</button>
<div class="results-div hidden" id="result"></div>
</div>
<div class="palindrome-definition-div">
<p class="palindrome-definition">
<span role="img" aria-label="light-bulb">💡</span>
A <dfn>palindrome</dfn> is a word or sentence that's spelled the same
way both forward and backward, ignoring punctuation, case, and
spacing.
</p>
</div>
</main>
<script src="./script.js"></script>
</body>
<footer>Hayat Zee</footer>
</html>