-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
index.html
63 lines (63 loc) · 2.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Breakout Game</title>
<link rel="stylesheet" href="styles.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"
/>
</head>
<body>
<header>
<h1 class="heading">The Breakout Game</h1>
</header>
<main>
<article class="game-container">
<section class="game-info">
<div>
<h2>Breakout Game</h2>
<p>
This game is simple and easy to play and also beginner friendly.
So why are you waiting? Start playing the game and enjoy to the
fullest!
</p>
</div>
</section>
<canvas id="myCanvas" width="600" height="600"></canvas>
<section class="game-option">
<h3>Game Options :</h3>
<div class="speed-container">
<label for="speed-slider">Change speed of the ball :</label>
<input id="speed-slider" type="range" min="1" max="5" value="2.5" />
</div>
<div id="size-container">
<label for="size-slider">Change size of the ball :</label>
<input id="size-slider" type="range" min="3" max="30" />
</div>
<button id="pauseBtn">Pause</button>
</section>
<div class="alert success">
<strong>YOU WIN, CONGRATULATIONS!</strong>
<button id="successBtn" class="close">Restart the Game</button>
</div>
<div class="alert failure">
<strong>GAME OVER!</strong>
<button id="failureBtn" class="close">Restart the Game</button>
</div>
</article>
</main>
<footer>
<span
>Copyright © <span id="year"></span> Dhanush Nehru | The Breakout
Game ❤</span
>
</footer>
<script src="utils/utilsCopyright.js"></script>
<script src="utils/utilsColor.js"></script>
<script src="script.js"></script>
</body>
</html>