-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (71 loc) · 3.19 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
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html>
<head>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="css/styles.css" rel="stylesheet" type="text/css">
<script src="js/jquery-3.4.1.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/scripts.js"></script>
<title>Friday Project 3</title>
</head>
<body>
<div class="container">
<div class="container1">
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
<input type="radio" name="mode" id="listToggle" autocomplete="off" checked> List Mode
</label>
<label class="btn btn-secondary">
<input type="radio" name="mode" id="gameToggle" autocomplete="off"> Game Mode
</label>
</div>
</div>
<div class="container2">
<img id="robot" src="img/kawaii-robot-vector-clipart.png" alt="robot clipart">
<h1>Beep Boop <small>List Mode</small></h1>
<p>Please enter a number between 0 and 1000 to let the games begin!</p>
<form class="list" id="listForm">
<label class="sr-only" for="userNumber">Enter your range limit</label>
<div class="form-group mb-3">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">0 to </span>
</div>
<input class="form-control" id="userNumber" min="0" max="1000" type="number" placeholder="# up to 1000">
</div>
</div>
<button class="btn btn-light mb-3" id="listReset" type="reset">Clear</button>
<button class="btn btn-primary mb-3" type="submit">Go</button>
</form>
<div id="listOutput" class="well"></div>
</div>
<div class="container3">
<img id="robot" src="img/kawaii-robot-vector-clipart.png" alt="robot clipart">
<h1>Beep Boop <small>Game Mode</small></h1>
<p>Test your robot skills against a robot!</p>
<form class="game" id="gameForm">
<label id="level">Level: 0</label>
<label id="lives">Lives: 5</label>
<div class="form-group mb-3">
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary">
<input type="radio" name="guessType" id="numberGuess" autocomplete="off" value="number" checked> Number
</label>
<label class="btn btn-secondary">
<input type="radio" name="guessType" id="beepGuess" autocomplete="off" value="beep"> Beep!
</label>
<label class="btn btn-secondary">
<input type="radio" name="guessType" id="boopGuess" autocomplete="off" value="boop"> Boop!
</label>
<label class="btn btn-secondary">
<input type="radio" name="guessType" id="sorryGuess" autocomplete="off" value="sorry"> I'm sorry, Dave!
</label>
</div>
</div>
<button class="btn btn-primary mb-3 btn-block" type="submit" id="submitButton">Submit</button>
</form>
<div id="gameOutput" class="well"></div>
</div>
</div>
</body>
</html>