-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (27 loc) · 809 Bytes
/
index.html
File metadata and controls
27 lines (27 loc) · 809 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Palindrome Checker</title>
</head>
<body>
<h1>Is it a Palindrome?</h1>
<form id="check-form">
<label id="input-label" for="text-input">Text to check:</label>
<input
type="text"
id="text-input"
autocomplete="off"
onfocus="this.value=''"
/>
<button type="submit" id="check-btn">check</button>
</form>
<div id="result">
A palindrome is a word or sentence that's spelled the same way both
forward and backward, ignoring punctuation, case, and spacing.
</div>
<script src="script.js"></script>
</body>
</html>