forked from catpage/catpage.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
117 lines (87 loc) · 4.37 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<html>
<div class="header">
<h1>Look at all these cats! Hello world Testing</h1>
</div>
<!-- Align this button to the center of the page-->
<button id="Nightmode" onclick="nightmode()" style="justify-self : center;">Nap time for cats...</button>
<div class="catpic">
<a href="https://www.mountainproject.com/photo/121910747/a-real-life-cat-squirrel-in-its-natural-habitat"><img src="images/NotACat.jpg" title="Squirel Cat by katy_vezde" alt="Not a Cat" width="800"></a>
</div>
<div class="catpic">
<a href="http://pixabay.com/p-289591/?no_redirect"><img src="images/sleepingcat.jpg" title="by Ebowalker, public domain" alt="A cat hugs a toy kitten"></a>
</div>
<div class="catpic">
<a href="https://i.ytimg.com/vi/-9i9UV7MOkE/"><img src="images/lobstercat.jpg" , width="700"></a>
</div>
<div class="catpic">
<a href="https://www.flickr.com/photos/jinterwas/5175089851/"><img src="images/catinabag.jpg" title="by Jinterwas, CC BY 2.0" alt="A black cat in a bag"></a>
</div>
<div class="catpic">
<a href="https://www.flickr.com/photos/jinterwas/5175089851/"><img src="images/catinabag.jpg"
title="by Jinterwas, CC BY 2.0" alt="A black cat in a bag"></a>
</div>
<div class="catpic">
<a href="https://www.flickr.com/photos/drphotomoto/12688263164/"><img src="images/catstamp.jpg"
title="by John Flannery, CC BY-ND 2.0" alt="A cat on a Hungarian stamp"></a>
</div>
<div class="catpic">
<img src="images/whiteseriouscat.jpg">
</div>
<div class="catpic">
<a href="https://www.google.com/imgres?q=climbing%20cat&imgurl=https%3A%2F%2Fassets3.thrillist.com%2Fv1%2Fimage%2F2890304%2F720x960%2Fscale%3Bwebp%3Dauto%3Bjpeg_quality%3D60.jpg&imgrefurl=https%3A%2F%2Fwww.thedodo.com%2Fdaily-dodo%2Fcat-works-at-rock-climbing-gym-and-climbs-up-wall&docid=EljszGiKJjaxKM&tbnid=ZkSJ3nKfGHmEfM&vet=12ahUKEwjF7MmX0syHAxWAhIkEHQ-_Mnw4ChAzegQIBxAA..i&w=720&h=960&hcb=2&ved=2ahUKEwjF7MmX0syHAxWAhIkEHQ-_Mnw4ChAzegQIBxAA"><img src="images/climbing_cat.jpeg" title="" alt="" width="256"></a>
</div>
<div class="catpic">
<img src="images/goose.jpeg">
</div>
<div class="catpic">
<img src="images/ReggieTheBrave.jpeg" alt="Portrait of Reggie the Brave, meower of all things good" width="300"></a>
</div>
<div class="catpic">
<img src = "images/image_67228417.JPG", width = 350px , height = auto>
</div>
<div class="catpic">
<img src="images/bothersome.png">
</div>
<div class="catpic">
<img src="images/winkycat.jpg">
</div>
<div class="catpic">
<img src="images/cat_bag.HEIC">
</div>
<div class="catpic">
<a href="https://wallpaperaccess.com/nyan-cat"><img src="images/nyan-cat.jpg" title="Nyan cat!">
</div>
<div class="catpic">
<img src="images/stretchcat.jpg" height = "400" width="600">
</div>
<div class="catpic">
<img src="images/cat-on-tree.jpg">
</div>
<div class="catpic">
<img src="images/Group_of_cats.jpg" width="500">
</div>
<div class="catpic">
<img src="images/marli.jpg" width="400">
</div>
<div class="catpic">
<img src="images/Sebastian.gif" title="Sebastian on a Chair" alt="A fluffy gray cat sits on the back of a chair and moves his head"></a>
</div>
</body>
<script type="text/javascript">
function nightmode() {
var body = document.body;
if (body.style.background == "black") {
body.style.background = "white";
body.style.color = "black";
document.getElementById("Nightmode").innerHTML = "Nap time for cats...";
document.getElementById("Nightmode").style.color = "black";
} else {
body.style.background = "black";
body.style.color = "white";
document.getElementById("Nightmode").innerHTML = "Nap time for cats...";
document.getElementById("Nightmode").innerHTML = "WAAKE UP KITTY!";
document.getElementById("Nightmode").style.color = "white";
}
}
</script>
</html>