-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (51 loc) · 2.07 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE HTML>
<html>
<head>
<title>Private Data</title>
<meta charset="UTF-8">
</head>
<!--
NOTE:
===============================================================================================
Because of simplicity & demonstration purposes, the "style" attribute is used within html tags.
Nevertheless it is recommended to use CSS for styling.
In '<body>' the 'style="text-align:center;"'
centers similar like the tag '<center>' which was used in previous mini-projects.
===============================================================================================
-->
<body style="text-align:center;">
<section>
<h2>Shuffle Doh!</h2>
<img style="border-radius: 20px;" id="main-image" src="Cups.jpg" usemap="#cupmap" >
<!--INTERACTING AREA-->
<map name="cupmap">
<area shape="rect" coords="50,110,150,200" onclick="choice(0);"><!-- LEFT CUP-->
<area shape="rect" coords="175,110,300,200" onclick="choice(1);;"><!-- MIDDLE CUP-->
<area shape="rect" coords="335,110,500,200" onclick="choice(2);;"><!-- RIGTH CUP-->
</map>
<!--ROUNDS-->
<p style="font-size:120%; font-family:verdana; color:green;">Round <span id="round-number">X</span></p>
<!--POINTS-->
<p style="font-size:120%; font-family:verdana; color:magenta;">Points <span id="points">Y</span></p>
<hr style="border-color:blue;" width="15%;">
<br>
<!--ANSWER-->
<input id="user-answer" type="text" placeholder="Resolve riddle(small letters)" oninput="checkAnswer();">
<button type="button" onclick="refresh();">RESTART</button>
<!--RIDDLE-->
<h3>Riddle</h3>
<p id="riddle"></p>
</section>
<hr width="50%;">
<section>
<br>
<br>
For more explanation please visit -
<a href="https://github.com/Incrementis/Javascript-storing-private-data-/wiki">
Storing private data Wiki</a>
</section>
</body>
<footer>
<script language="javascript" type="text/javascript" src="private.js"></script>
</footer>
</html>