Skip to content

Commit eb4e711

Browse files
committed
add div for blocks
1 parent d15c520 commit eb4e711

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

Source-Code/JumpGame/index.html

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Document</title>
7-
</head>
8-
<body>
9-
10-
</body>
11-
</html>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Jump Game</title>
7+
<link rel="stylesheet" href="style.css" />
8+
</head>
9+
<body>
10+
<h2>Jump Game</h2>
11+
<p id="co">Press space to jump</p>
12+
<div class="game">
13+
<div id="character"></div>
14+
<div id="block"></div>
15+
<div id="block2"></div>
16+
</div>
17+
<p>Score: <span id="scoreSpan"></span></p>
18+
<script src="script.js"></script>
19+
</body>
20+
</html>

0 commit comments

Comments
 (0)