-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (35 loc) · 1.09 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Effective JavaScript: Frogger</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="character_choice">
<h1>Pick a Character</h1>
<button type="button" id="boy" onclick="setBoy()">
<img src="images/char-boy.png">
</button>
<button type="button" id="cat-girl" onclick="setCatGirl()">
<img src="images/char-cat-girl.png">
</button>
<button type="button" id="horn-girl" onclick="setHornGirl()">
<img src="images/char-horn-girl.png">
</button>
<button type="button" id="pink-girl" onclick="setPinkGirl()">
<img src="images/char-pink-girl.png">
</button>
<button type="button" id="princess-girl" onclick="setPrincessGirl()">
<img src="images/char-princess-girl.png">
</button>
<button type="button" id="start" onclick="start()">Start Game</button>
</div>
<div id="game_board">
<script src="js/resources.js"></script>
<script src="js/engine.js"></script>
<script src="js/app.js"></script>
</div>
<a href="index.html" id="link-button">New Game</a>
</body>
</html>