-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
53 lines (51 loc) · 1.62 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<link rel="icon" href="img/image.png" type="image/x-icon" />
<title>Word Scramble Game</title>
<link rel="stylesheet" href="style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="js/words.js" defer></script>
<script src="js/script.js" defer></script>
</head>
<body>
<div class="container">
<div class="title-container">
<img src="img/image.jpeg" class="round-img" />
<h2>Word Scramble</h2>
<a href="https://github.com/GZ30eee" target="_blank">
<p>Follow me</p>
</a>
</div>
<div class="content">
<div class="score">
<p><span id="scoreLabel">Score: </span><b id="scoreValue">0</b></p>
</div>
<p class="word"></p>
<p class="word-class-p">
<span class="word-class"></span>
</p>
<div class="details">
<p class="hint">Hint: <span></span></p>
<p class="time">
Time Left: <span><b>30</b>s</span>
</p>
</div>
<input
type="text"
spellcheck="false"
placeholder="Enter a valid word"
autocomplete="off"
onPaste="return false;"
onkeydown="if (event.key === 'Enter') { event.preventDefault(); window.checkWord(); }"
/>
<p id="message"></p>
<div class="buttons">
<button class="refresh-word">Refresh Word</button>
<button class="check-word">Check Word</button>
</div>
</div>
</div>
</body>
</html>