-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (37 loc) · 1.02 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Magic 8 Ball!</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- FIXME -->
<h1>Magic 8-Ball</h1>
<p>Type in your question:</p>
<!-- FIXME -->
<input type='text' id="question">
<!-- This is where we'll put our 8 Ball! -->
<!-- FIXME -->
<div class="eight-ball">
<div class="answer">
<!-- Put the number "8" inside those tags. -->
<p id="eight">
8
</p>
<p id="answer">
</p>
</div>
</div>
<!-- Create a p tag with an ID of "answer" -->
</div>
</div>
<!-- FIXME -->
<!-- Add a shake button Using the button HTML tag -->
<button id="button">Shake ME!!!</button>
<!-- Make sure there's an id named "button" -->
<!-- Make it say "Shake" or "Shake Me!" -->
<script src="script.js"></script>
</body>
</html>