-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (40 loc) · 1.73 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
@import url('https://fonts.cdnfonts.com/css/pokemon-solid');
</style>
<title>Can you be the very best?</title>
<link
id="favicon"
rel="icon"
href="https://upload.wikimedia.org/wikipedia/commons/thumb/5/53/Pok%C3%A9_Ball_icon.svg/240px-Pok%C3%A9_Ball_icon.svg.png"
type="image/png"
sizes="32x32"
>
</head>
<body>
<div id="game-container">
<div id="title-container">
<h1>Can you be the very best?</h1>
</div>
<label id="label" for="name">What is your trainer name?</label>
<input id="name" type="text" placeholder="Enter your trainer name">
<button id="start-button">Start Adventure</button>
<div id="story-container"></div>
<div id="choices-container"></div>
<button id="play-again-button" style="display: none;">Play Again</button>
<img id="end-game-image" src="https://img1.wsimg.com/isteam/ip/1da0c1d6-0276-4dec-be05-23cf138b20ca/350bb9238ac7c4fd8c64b237d3cc63e8_prev_ui.png" style="display: none;" alt="End Game Image" />
</div>
<script type="module" defer src="./js/story.js"></script>
<script type="module" defer src="./js/app.js"></script>
<link rel="stylesheet" href="./css/style.css">
<audio id="game-audio" src="https://img1.wsimg.com/blobby/go/1da0c1d6-0276-4dec-be05-23cf138b20ca/downloads/kanto_lofi.mp3" preload="auto"></audio>
<div id="audio-controls">
<button id="audio-pause-button">Pause</button>
<input type="range" id="volume-control" min="0" max="1" step="0.01" value=".25">
</div>
</body>
</html>