-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (34 loc) · 1.45 KB
/
index.html
File metadata and controls
38 lines (34 loc) · 1.45 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
<html>
<head>
<title>
Unit4 CCA-1
</title>
<script src="script.js"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body id="body">
<div class="main">
<h3 class="main__inner" id="title"><u>Number Game CCA</u></h3>
<p class="main__inner">Guess a number 1 to 1000</p>
<div class="input-group main__inner">
<label for="userInput" id="inputLabel"><font family="Agency FB">Enter a Number </font></label>
<input type="number" id="userInput">
</div>
<button class="main__inner" id="button" onClick="getNumber()">
<span class="text">Submit</span>
</button>
<br>
<p class="main__inner low"><font size=2>Results<br>-------------------------------</font></p>
<div class="main__inner low" id="result">
<i>Guess to Begin ^^</i>
</div>
<br>
<div class="main__inner low" id="attempts">
<p id="attemptsArea"># of Attempts: <span id="attemptsVar">0</span></p>
</div>
<div class="main__inner low" id="highScoreDiv">
<p id="highScoreArea"><b>Attempts High Score:</b> <span id="highscoreVar">0</span><br>(Lowest number of attempts you can achieve)<br>--Updates at end of each round--</p>
</div>
</div>
</body>
</html>