-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (59 loc) · 2.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favicon.png" type="image/png">
<link rel="stylesheet" href="style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.3/howler.min.js"></script>
<script type="module" src="script.js"></script>
<meta name="description" content="Jardinains game using just javascript" />
<meta name="keywords" content="Jardinains 2d-game javascript-game" />
<meta name="author" content="kuldeep kumar" />
<!-- tags that show when sharing link -->
<meta property="og:title" content="Jardinains game" />
<meta
property="og:description"
content="Jardinains game using just javascript"
/>
<meta property="og:image" content="./og.webp" />
<meta property="og:url" content="mywebsite.com" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Jardinains game" />
<meta property="og:locale" content="en_US" />
<title>Jardinains</title>
</head>
<body>
<main>
<canvas></canvas>
</main>
<section class="ui">
<div id="start" class="activate">
<h1>Jardinains with js</h1>
<h2>Start game</h2>
<button class="restart-btn">Start</button>
</div>
<div id="gameover">
<h1>Game over!</h1>
<div class="score">
<h2>Coins:- <span class="score-count">0</span></h2>
</div>
<button class="restart-btn">Restart</button>
</div>
<div id="restart">
<h1>You won!</h1>
<div class="score">
<h2>Coins:- <span class="score-count">0</span></h2>
</div>
<button class="restart-btn">Restart</button>
</div>
</section>
<section class="hidden-assets">
<div id="character">
<img class="character" src="/assets//images/characters.png" alt="">
<img class="explosion" src="/assets//images/explosion.png" alt="">
<img class="power-up" src="/assets//images/powerUp.png" alt="">
</div>
</section>
</body>
</html>