-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
64 lines (59 loc) · 2.23 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
54
55
56
57
58
59
60
61
62
63
64
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BrainOut</title>
<link rel="stylesheet" href="/style.css" class="css" />
<link rel="shortcut icon" href="./images/android-chrome-192x192.png" type="image/x-icon">
<link rel="manifest" href="manifest.json">
</head>
<body>
<nav>
<ul>
<li><span class="title">BrainOut</span></li>
</ul>
<div class="content">
<i class="fas fa-sun"></i>
<input type="checkbox" id="tooglenight" class="cbx hidden"/>
<label for="tooglenight" class="switch"></label>
<i class="fas fa-moon"></i>
</div>
</nav>
<Div class="stats">
<div class="high-score">High Score : 0</div>
</Div>
<div class="container">
<h1 id="level-title">Press button to start</h1>
<div class="game-container">
<button id="red" class="box btn red" ></button>
<button id="green" class="box btn green "></button>
<button id="blue" class="box btn blue "></button>
<button id="yellow" class="box btn yellow"></button>
</div>
<div class="info-container">
<div class="welcome"><h1>welcome to <span class="typewriter">BrainOut</span></h1></div>
<div class="information">
<button class="start-button reset">Start</button>
</div>
<div class="imgbox"><img src="/ttt/excited.gif" alt="image"></div>
</div>
</div>
<!-- <footer>
<div class="footer-title"><p onclick="window.location = 'https://github.com/Alokskj/'">© Alok Skj</p></div>
</footer> -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
<script src="/game.js"></script>
<script>
if('serviceWorker' in navigator){
navigator.serviceWorker.register('./sw.js')
.then((res)=>{console.log(res)})
.catch((e)=>{console.error(e)})
}else{
console.error("sw is not working")
}
</script>
</body>
</html>