-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (43 loc) · 1.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Game</title>
<link rel="stylesheet" href="style.css">
<script defer src="main.js"></script>
<script src="https://kit.fontawesome.com/a0bfa0bc39.js" crossorigin="anonymous"></script>
</head>
<body>
<h1>Hook a <span>Red fish</span>!</h1>
<div class="game">
<section class="game-guide">
<button class="start"><strong>
GAME START!</strong></button>
<button class="stop stop-hide"><strong>
STOP</strong></button>
<div class="game-info">
<span class="time">0:0</span>
<span class="game-score">0</span>
</div>
</section>
<section class="game-space"></section>
</div>
<aside class="pop-up hide">
<span class="message">You lost!</span>
<button class="replay"><i class="fas fa-redo"></i> Replay!</button>
</aside>
<aside class="rule">
<h2>Game Rules</h2>
<P>1. Catch red fish with fish hook within given time</P>
<p>2. Avoid sharks</p>
<div class="hook">
<img src="img/hook.png" alt="hook">
<div class="point"></div>
</div>
<button class="close">CLOSE</button>
</aside>
<button class="ruleBtn">Rule</button>
</body>
</html>