-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimage.html
55 lines (52 loc) · 1.94 KB
/
image.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>15 Puzzle game</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="stylesheet" href="imagestyle.css">
</head>
<body>
<img src="assets/pngwing.com.png" alt="" srcset="" class = "logo">
<div class="game" id = "game">
<div class="details">
<button class="new_game" id="new-game">New Game</button>
<div class="timer_and_moves">
<div class="timer">
<p>Time:</p>
<h2 id = "time">0:0</h2>
</div>
<div class="moves">
<p>Moves:</p>
<h2 id = "moves">0</h2>
</div>
</div>
</div>
<div class="gamebox">
<div class="box" id="box"></div>
<div class="play" id="play">
<button class="play_button" id="play-button"><i class="bi bi-caret-right" onclick="startTimer"></i></button>
</div>
<div class="final_img" id = "finalImg">
</div>
</div>
<div class="buttons">
<button class="pause_timer" id="pause-button">Pause</button>
<button class="resume_timer" id="resume-button">Resume</button>
</div>
</div>
<div class="win_stats" id = "win_stats">
<h1>You Win!</h1>
<p id = "move"></p>
<p id = "minutes"></p>
<div class="homenav">
<a href = "" class="new-game" id = "new_game">New Game</a>
<a href="home.html" class="home">Back to home</a>
</div>
</div>
<script src="imagedata.js"></script>
<script src="imagescript.js"></script>
<script src="timer.js"></script>
</body>
</html>