forked from luv-jeri/How-Lucky-You-Are
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (48 loc) · 1.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<meta
http-equiv="X-UA-Compatible"
content="ie=edge"
/>
<link rel="stylesheet" href="game.css" />
<title>How lucky your are?</title>
</head>
<body>
<header>
<h1 class="title" id="idtitle">
How lucky your are? 👻
</h1>
<p class="between">(Between 1 and 20)</p>
<button class="btn again" id="again">
Again!
</button>
<div class="number">?</div>
</header>
<main id="main">
<section class="left">
<input type="number" class="guess" id="guessing" />
<button class="btn checkbtn" id="check">
Check!
</button>
</section>
<section class="right">
<p class="message" id="message" >Start guessing...</p>
<p class="label-score">
💯 Score:
<span class="score" id='score'>20</span>
</p>
<p class="label-highscore">
🥇 Highscore:
<span class="highscore" id="highscore">0</span>
</p>
</section>
</main>
<script src="script.js"></script>
</body>
</html>