-
Notifications
You must be signed in to change notification settings - Fork 0
/
Lab3-hard_circle.php
76 lines (71 loc) · 2.33 KB
/
Lab3-hard_circle.php
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
76
<!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>Hard Circle</title>
<link href='https://fonts.googleapis.com/css?family=Lato:100' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="./css/hard-circle.css">
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
</head>
<body>
<?php
include "menu.php";
?>
<div id="time-input" style="padding-top:20px">
Enter time: <input type="number" id="minutes" min="0" max="45"> minutes
<input type="number" id="seconds" min="0" max="59"> seconds
</div>
<div id="start">
<button id="start">Start</button>
</div>
<div id="container1">
<div id="circle2">
<div class="point"></div>
</div>
<p></p>
<div id="circle">
<div id="pointer"></div>
</div>
<div id="user-result1">Result: <span id="result"></span></div>
</div>
<div id="container2">
<div id="circle4">
<div class="point2"></div>
</div>
<p></p>
<div id="circle3">
<div id="pointer2"></div>
</div>
<div id="user-result2">Result: <span id="result2"></span></div>
</div>
<div id="container3">
<div id="circle6">
<div class="point3"></div>
</div>
<p></p>
<div id="circle5">
<div id="pointer3"></div>
</div>
<div id="user-result3">Result: <span id="result3"></span></div>
</div>
<div id="end" class="hidden">game over</div>
<div id="time"><span id="timer"></span></div>
<div class="container">
<div class="score" style="background: #FFF5EE;">
<div class="section-0">
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$("#container1 > p").html("<br><h4> <span id='result'>NaN</span></h4>");
$("#container2 > p").html("<br><h4> <span id='result2'>NaN</span></h4>");
$("#container3 > p").html("<br><h4> <span id='result3'>NaN</span></h4>");
$("#time").html("<br><h4> <span id='timer'>00:00</span></h4>");
</script>
<script src="./js/Lab3-hard-circle.js"></script>
<script src="./js/menu.js"></script>
</body>
</html>