-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (34 loc) · 1.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Draconic Quest</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<img src="/dragon.jpeg" alt="Game Image" class="game-image">
<div id="game">
<div id="stats">
<span class="stat">XP:<strong id="xpText">0</strong></span>
<span class="stat">Health:<strong id="healthText">100</strong></span>
<span class="stat">Gold:<strong id="goldText">50</strong></span>
</div>
<div id="button">
<button id="button1">Go to Store</button>
<button id="button2">Go to Cave</button>
<button id="button3">Fight Dragon</button>
</div>
<div id="monsterStats">
<span class="stat">Monster Name:<strong><span id="monsterName"></span></strong></span>
<span class="stat">Health:<strong><span id="monsterHealth"></span></strong></span>
</div>
<div id="text">
Welcome to Draconic Quest. 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.
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>