-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (29 loc) · 1.71 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Fruit Game</title>
<!-- add css here-->
<link rel="stylesheet" href="C:\Users\San\Desktop\dennoweb\fruit_game\assets\css\style.css" />
</head>
<body>
<!--orderd list -->
<ol id=""scoreboard>
<li>Time Left:<span id="time">30</span></li>
<li><button onclick="startGame();" id="btn">Play</button></li>
<li>Score : <span id="score">0</span></li>
</ol>
<!-- end of unorderd list-->
<!-- game environment-->
<div id="env">
<img id="ground" src="C:\Users\San\Desktop\dennoweb\fruit_game\assets\ground.png" />
<img id="tree" src="C:\Users\San\Desktop\dennoweb\fruit_game\assets\tree.png" />
<img style="top:20opx; left:110px;" onclick="fallDown(this)" class="apple" src="C:\Users\San\Desktop\dennoweb\fruit_game\assets\apple.png"/>
<img style="top:205px; left:145px;" onclick="fallDown(this)" class="apple" src="C:\Users\San\Desktop\dennoweb\fruit_game\assets\apple.png"/>
<img style="top:170px; left:185px;" onclick="fallDown(this)" class="apple" src="C:\Users\San\Desktop\dennoweb\fruit_game\assets\apple.png"/>
<img style="top:215px; left:220px;" onclick="fallDown(this)" class="apple" src="C:\Users\San\Desktop\dennoweb\fruit_game\assets\apple.png"/>
<img style="top:170px; left:255px;" onclick="fallDown(this)" class="apple" src="C:\Users\San\Desktop\dennoweb\fruit_game\assets\apple.png"/>
</div>
<!-- javascript-->
<script type="text/javascript" scr="C:\Users\San\Desktop\dennoweb\fruit_game\assets\js\game.js" ></script>
</body>
</html>