-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpuzzle.html
More file actions
58 lines (57 loc) · 1.6 KB
/
Copy pathpuzzle.html
File metadata and controls
58 lines (57 loc) · 1.6 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<html lang="en">
<head>
<meta charset="utf-8">
<title>Word Puzzle!</title>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Fresca">
<link rel="icon" type="image/png" href="static/images/hub.jpg">
<link rel="apple-touch-icon" type="image/png" href="static/images/hub.jpg">
<script src="static/js/jquery.min.js"></script>
<link rel="stylesheet" href="static/css/puzzle.css">
<script src="static/js/puzzle.js"></script>
</head>
<body>
<div class="final">
</div>
<div class="main">
<div class="left">
</div>
<div class="right">
<div class="clockdiv">
<div class="clock">
<div>
<span class="hours" id="hour">0</span>
<div class="smalltext">Hours</div>
</div>
<div>
<span class="minutes" id="minute">15</span>
<div class="smalltext">Minutes</div>
</div>
<div>
<span class="seconds" id="second">2</span>
<div class="smalltext">Seconds</div>
</div>
</div>
</div>
<div class="wordblock">
<div class="words">
</div>
</div>
<div class="result">
Score:
<br>
<span id="score">0</span><span id="outof">/20</span>
</div>
</div>
</div>
<script type="text/javascript">
//to stop right-clicking on page
window.oncontextmenu=event=>{
event.preventDefault()
};
//prompt before refreshing
window.onbeforeunload = function() {
return "You cannot refresh this page";
};
</script>
</body>
</html>