-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (59 loc) · 2.45 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Text Adventure Game</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
</head>
<body class="bg-light d-flex flex-column" style="height: 100vh;">
<header class="bg-dark text-white py-2">
<h1 class="text-center" id="game-title"></h1>
</header>
<main class="container-fluid flex-grow-1 d-flex flex-column">
<div class="row" id="status-bars">
<div class="col-12">
<div class="d-flex align-items-center">
<span class="mx-2">Icon</span>
<span class="mx-2">Attribute:</span>
<span class="mx-2" id="attribute-value">Value</span>
<span class="mx-2" id="attribute-comment">Comment</span>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-12 d-flex justify-content-center" id="illustrative-image-container">
<img src="illustration.png" alt="Illustrative Image" id="illustrative-image" class="img-fluid">
</div>
</div>
<div class="row mt-3">
<div class="col-12" id="scene-description">
Loading beginning of story.<br /> <br />
</div>
</div>
<div class="d-flex justify-content-center">
<div class="spinner-border text-primary" role="status" id="loading-container">
<span class="visually-hidden">Loading...</span>
</div>
</div>
</main>
<footer class="bg-dark text-white py-2">
<div class="container">
<form id="user-input-form">
<div class="input-group">
<input type="text" class="form-control" id="user-input" placeholder="Enter your action"
aria-label="Enter your action" aria-describedby="submit-button">
<button class="btn btn-primary" type="submit" id="submit-button">Submit</button>
</div>
</form>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
crossorigin="anonymous"></script>
<script type="module" src="script.js"></script>
<script type="module" src="adventureData.js"></script>
</body>
</html>