Skip to content

Commit b697a25

Browse files
authored
Create index.html
1 parent 8b281d1 commit b697a25

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Role Playing Game/index.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<link rel="stylesheet" href="./styles.css">
6+
<title>RPG - Dragon Repeller</title>
7+
</head>
8+
<body>
9+
<div id="game">
10+
<div id="stats">
11+
<span class="stat">XP: <strong><span id="xpText">0</span></strong></span>
12+
<span class="stat">Health: <strong><span id="healthText">100</span></strong></span>
13+
<span class="stat">Gold: <strong><span id="goldText">50</span></strong></span>
14+
</div>
15+
<div id="controls">
16+
<button id="button1">Go to store</button>
17+
<button id="button2">Go to cave</button>
18+
<button id="button3">Fight dragon</button>
19+
</div>
20+
<div id="monsterStats">
21+
<span class="stat">Monster Name: <strong><span id="monsterName"></span></strong></span>
22+
<span class="stat">Health: <strong><span id="monsterHealth"></span></strong></span>
23+
</div>
24+
<div id="text">
25+
Welcome to Dragon Repeller. You must defeat the dragon that is preventing people from leaving the town. You are in the town square. Where do you want to go? Use the buttons above.
26+
</div>
27+
</div>
28+
<script src="./script.js"></script>
29+
</body>
30+
</html>

0 commit comments

Comments
 (0)