-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
58 lines (44 loc) · 1.96 KB
/
404.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
<!-- 404 error page: add CSS images and cool animations so users won't realise they're in the wrong place :) -->
<html>
<head>
<title>404 Error</title>
<script src="code.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<p id="error">404 Error: This page cannot be found</p>
<div id="suggested">
Did you mean to go <a id="internal" onclick="window.open(getClosestMatch(),'_self')">here?</a>
</div>
<div class="captioned" id="1">
<img class="image" src="images/404/spocktocat.png">
<p class="text">"He's dead Jim!"</p>
</div>
<div class="captioned" id="2">
<img class="image" src="images/404/constructocat2.jpg">
<p class="text">You're early! This page is still "Under Construction"</p>
</div>
<div class="captioned" id="3">
<img class="image" src="images/404/jean-luc-picat.jpg">
<p class="text">"The line must be drawn here! This far, no farther!"</p>
</div>
<div class="captioned" id="4">
<img class="image" src="images/404/visionary.jpg">
<p class="text">Like all great visionaries, you can see webpages <i>before they're even written</i>.</p>
</div>
<div class="captioned" id="5">
<img class="image" src="images/404/waldocat.png">
<p class="text">Where's the webpage? Pretty sure I left it around here somewhere...</p>
</div>
<footer>
<span><a class="external" href="https://github.com/contact"><i class="fa fa-life-ring fa-lg" aria-hidden="true"></i></a></span>
<span><a class="external" href="https://github.com/Cutwell/Cute-Crashes"><i class="fa fa-code-fork fa-lg" aria-hidden="true"></i></a></span>
</footer>
</body>
<script>
var index = getRandomInt(1,5);
var image = document.getElementById(index.toString());
image.style.display = "block";
</script>
</html>