-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (46 loc) · 2.46 KB
/
index.html
File metadata and controls
56 lines (46 loc) · 2.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description"
content="Check if a word or phrase is a palindrome using this simple Palindrome Checker built with JavaScript." />
<meta name="keywords"
content="palindrome checker, JavaScript palindrome app, check palindrome, basic palindrome project" />
<meta property="og:title" content="Palindrome Checker" />
<meta property="og:description"
content="Check if a word or phrase is a palindrome using this simple Palindrome Checker built with JavaScript." />
<meta property="og:image" content="https://coderespite.com/image/js-projects/palindrome-checker.png" />
<meta property="og:url" content="https://coderespite.com/projects/js-projects/palindrome-checker" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Palindrome Checker" />
<meta name="twitter:description"
content="Check if a word or phrase is a palindrome using this simple Palindrome Checker built with JavaScript." />
<meta name="twitter:image" content="https://coderespite.com/image/js-projects/palindrome-checker.png" />
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="https://cdn.freecodecamp.org/universal/favicons/favicon.ico" />
<title>Palindrome Checker</title>
</head>
<body>
<main class="container">
<img class="freecodecamp-logo" src="https://cdn.freecodecamp.org/platform/universal/fcc_primary.svg"
alt="freecodecamp Logo">
<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" type="text" value="" id="text-input" />
<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>
</html>