/
index.html
59 lines (52 loc) · 1.71 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>Your Title Here</title>
<body>
<!-- Visible if javascript is disable -->
<noscript>
<p style="
text-align: center;
background-color: black;
color: white;
font-family: sans-serif;
padding: 40px;
margin: auto;
margin-top: 10%;
line-height: 1.4;
width: 50%;
border: 10px solid red;
">
<span style="font-size: 70px">🤖</span><br /><strong>You need to enable Javascript to use this
website</strong><br /><a href="https://www.enable-javascript.com/" target="_blank"
style="color: white;">
Click here for instructions
</a>
</p>
</noscript>
<!-- Visible if javascript is disable -->
<!-- Visible if javascript is enabled // Chance Here-->
<p id="javascript" style="
display: none;
text-align: center;
background-color: black;
color: white;
font-family: sans-serif;
padding: 40px;
margin: auto;
margin-top: 10%;
line-height: 1.4;
width: 50%;
border: 10px solid green;
">
<span style="font-size: 70px">👨💻</span><br /><strong>Javascript is enabled in your web browser. If you
disable JavaScript, this text will change.</strong><br />(Design by Ismail Enes Ayhan)
</p>
<!-- Visible if javascript is enabled -->
<script>
document.getElementById("javascript").style.display = "block";
</script>
</body>
</html>