-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (73 loc) · 2.06 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
<!DOCTYPE html>
<html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<style>
body {background-color: #17202A;}
h1 {color: white;}
h1.sansserif {
font-family: Arial, Helvetica, sans-serif;
font-size:8vw;
}
p {color: #d7e466;}
p.sansserif {
font-family: Arial, Helvetica, sans-serif;
font-size:5vw;
}
img {
width: 60%;
height: auto;
}
input[type=text], select {
width: 60%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
text-align: center;
font-size: 3vw;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type=submit] {
margin: 15px;
padding: 10px;
text-align: center;
font-size: 4vw;
display: block;
background-color: black;
text-transform: uppercase;
color: white;
border-radius: 6px;
}
</style>
<script>
function validateForm() {
var x = document.forms["myForm"]["fname"].value;
if (x == "3470") {
document.forms["myForm"]["fname"].value = "";
alert("You found the first clue, but you can't stop yet. Keep on looking for more. The second clue can surely be found at the town's only grocery store. What is the price of a bag of store brand Chocolate Chip cookies? Do NOT buy anything at this location. Text The Lens the price for your next Clue.");
return false;
}
else{
document.forms["myForm"]["fname"].value = "";
alert("Paradox2 is smarter than you. This code is incorrect.");
return false;
}
}
</script>
</head>
<body>
<center><h1 class="sansserif">Paradox2 was here.</h1>
<p class="sansserif">Decipher the clue using Augmented Reality. Then enter the code.</p>
<a href="https://github.com/samhorne/paradox2/blob/master/paradox2.usdz?raw=true" rel="ar">
<img src="https://developer.apple.com/design/human-interface-guidelines/ios/images/ARKit_Glyph_Button.svg" alt="Tap Here">
</a>
<p class="sansserif"></p>
<form name="myForm" action="/action_page.php" onsubmit="return validateForm()" method="post">
<input type="text" pattern="[0-9]*" name="fname" placeholder= "CODE";>
<input type="submit" value="Submit">
</form>
</center>
</body>
</html>