Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (47 loc) · 3.24 KB
/
Copy pathindex.html
File metadata and controls
53 lines (47 loc) · 3.24 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
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<title>Name That Episode</title>
<meta name="viewport" content="width-device-width, initial-scale=1">
<link href="style.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
</head>
<body class="container">
<main role="main" class="flex-shrink-0">
<div class="container text-center">
<input type="text" style="margin: 15px;" class="form-control form-control-lg" id="answer" placeholder="Episode name">
<h4><span id="timer">60</span> seconds remaining.</h4>
<a id="rules-link" href="#">Rules</a>
<div id="rules" style="display:none;">
<ul class="list-group list-group-flush">
<li class="list-group-item">Accepted answer is the exact episode name only.</li>
<li class="list-group-item">3 clues per episode are available, you lose one point per clue.</li>
<li class="list-group-item">You are given 60 seconds to answer correctly.</li>
<li class="list-group-item">NO CHEATING!</li>
</ul>
</div>
<hr>
<div class="row">
<div class="col-sm">
<p class="text-muted">change log</p>
<ul id="changelog" class="list-group">
<li class="list-group-item"><span class="score minus">-1</span> Added new clue</li>
<li class="list-group-item"><span class="score minus">-1</span> 20 Seconds elapsed</li>
<li class="list-group-item"><span class="score plus">+2</span> Correctly answered Season 04 Episode 20 - The Nightwalker</li>
</ul>
</div>
<div class="col-lg">
<audio controls id="audio" src=""></audio> <p>Eligible points: <span style="font-size: 24px" id="points">3</span></p>
<p>Total points accumulated: <span id="total">0</span>/<span id="maxPoints"></span></p>
<p><span id="correctAnswers">0</span> correct answers</p>
<button type="button" id="clue" class="btn btn-warning" name="Give me another clue">Give me another clue</button>
<button type="button" id="next" class="btn btn-danger" name="I give up, next episode">I give up, next episode</button>
</div>
</div>
</div>
</main>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="guessthatepisode.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
</body>
</html>