-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (34 loc) · 1.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="styles.css">
<script defer src="main.js"></script>
</head>
<body>
<h1>The Secret Combination!</h1>
<p>Choose wisely ...</p>
<!-- Dialog and button pair 1 -->
<dialog id="dialog1">
<button id="close1" autofocus>Close</button>
<p>You have picked the wrong combination!</p>
</dialog>
<button id="button1">70 - 43 - 87</button>
<br>
<!-- Dialog and button pair 2 -->
<dialog id="dialog2">
<button id="close2" autofocus>Try Again..</button>
<p>Congratulations! You have successfully cracked the code!</p>
</dialog>
<button id="button2">10 - 40 - 39</button>
<br>
<!-- Dialog and button pair 3 -->
<dialog id="dialog3">
<button id="close3" autofocus>Try Again..</button>
<p>You have picked the wrong combination!</p>
</dialog>
<button id="button3">43 - 23 - 19</button>
</body>
</html>