-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
60 lines (58 loc) · 1.98 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>What the GIF?!</title>
<link rel="stylesheet" href="./assets/css/main.css">
</head>
<body>
<div class="game">
<audio id="myAudio">
<source src="stereo-love.mp3" type="audio/mp3">
Your browser does not support the audio element.
</audio>
<h1>What the Gif?!</h1>
<p>Read the prompt and type in your reaction in the search bar. After both players enter their search, click
show result. The judge should award points to the funniest answer</p>
<button id="play-music"> Play Music </button>
<div class="prompt">
<h2 id="question" class="question"></h2>
<button id="next-question" class="next-question"> Next question: </button>
</div>
<div class="search">
<p>Search your gif:</p>
<input id="searchbox-gif" type="text"></input>
<button id="search-gif"> Search for GIF </button>
<button id="clear-gif"> Clear GIF </button>
<button id="show-gif"> Show Result </button>
<div id="gif-result" class="result hidden">
<div id="gif-result-container">
</div>
</div>
</div>
<div class="players">
<table class="players-table">
<tr>
<td><h1>Players</h1></td>
<td><h1> Score </h1></td>
</tr>
<tr>
<td><h2> Player 1 </h2></td>
<td>
<p id="player1-score"> </p>
<button id="increment-1"> Add score </button>
</td>
</tr>
<tr>
<td><h2> Player 2</h2></td>
<td>
<p id="player2-score"> </p>
<button id="increment-2"> Add score </button>
</td>
</tr>
</table>
</div>
</div>
<script src="./assets/js/main.js"></script>
</body>
</html>