-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (47 loc) · 1.95 KB
/
index.html
File metadata and controls
50 lines (47 loc) · 1.95 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<div id="app">
<a href="https://www.youtube.com/@DevanshsGalaxy" target="_blank" id="youtubeIcon">
<img src="youtube_devansh.png" alt="YouTube Icon">
</a>
<!-- ... (existing content) ... -->
</div>
<title>Word Power Game</title>
<link rel="stylesheet" href="styles.css">
<link rel="manifest" href="/manifest.json">
</head>
<body>
<div id="app">
<h3> Devansh's World Presents </h3>
<h1>🔤 Word Power Game 🔤</h1>
<p>Challenge yourself with the Word Power Game! Enter words that start with the last letter of the previous word and see how far you can go. 😄</p>
<label for="wordInput">Your word:</label>
<input type="text" id="wordInput" placeholder="Type here...">
<button id="goButton">GO</button>
<button id="clearButton">CLEAR</button>
<div id="achievements"></div>
<div id="wordChain"></div>
<div id="scoreBadge">
<div id="score">Score: <span id="scoreValue">0</span></div>
<div id="badge"></div>
</div>
<div id="credits">
<p>Idea by Devansh Dash | Developed by @simplymanas |
<a href="https://www.youtube.com/@DevanshsGalaxy" target="_blank" >
YouTube</a></p>
<p>Powered by <a href="https://www.datamuse.com/api/" target="_blank">Datamuse API</a></p>
</div>
</div>
<script src="script.js"></script>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/service-worker.js')
.then((registration) => console.log('Service Worker registered with scope:', registration.scope))
.catch((error) => console.error('Service Worker registration failed:', error));
}
</script>
</body>
</html>