-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmerchantry.html
More file actions
42 lines (36 loc) · 1.21 KB
/
merchantry.html
File metadata and controls
42 lines (36 loc) · 1.21 KB
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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Merchantry</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>Merchantry by lebruss</h1>
<div id="game">
<div id="info">
<p>Name: <span id="charName"></span></p>
<p>Money: <span id="money"></span></p>
<p><span id="julianDate"></span></p>
</div>
<div id="locations">
<span id="location"></span>
<button onclick="toggleTravelOptions()">Travel</button>
<div id="travelOptions"></div>
</div>
<div id="market">
<h2>Market</h2>
<div id="goods"></div>
</div>
<div id="alertBox" class="alert-box"></div>
</div>
<div id="start">
<input type="text" id="characterName" placeholder="Enter your name">
<button onclick="startGame()">Start</button>
</div>
</div>
<script src="scripts.js"></script>
</body>
</html>