-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (78 loc) · 2.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cat Facts</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="site-data/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" sizes="180x180" href="site-data/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="site-data/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="site-data/favicon-16x16.png">
<link rel="manifest" href="site-data/site.webmanifest">
</head>
<body>
<header>
<label class="switch">
<input type="checkbox" id="theme-toggle">
<span class="slider"></span>
</label>
</header>
<div class="container">
<div class="cat-icon">
<img src="cat-icon.gif" alt="Cat Icon">
</div>
<h1>Everything Cats</h1>
<div id="button-container">
<button id="random-fact">Get Random Fact</button>
<button id="breed-fact">Get Fact by Breed</button>
</div>
<div id="dropdown-container" class="hidden">
<label for="breed-select">Choose a breed:</label>
<select id="breed-select">
<!-- Options will be displayed here -->
</select>
<button id="get-breed-fact">Get Fact</button>
</div>
<div id="fact-container" class="hidden">
<div id="breed-details" class="hidden">
<h2 id="breed-name"></h2>
<p>
<strong>Country:</strong>
<span id="breed-country"></span>
</p>
<p>
<strong>Origin:</strong>
<span id="breed-origin"></span>
</p>
<p>
<strong>Coat:</strong>
<span id="breed-coat"></span>
</p>
<p>
<strong>Pattern:</strong>
<span id="breed-pattern"></span>
</p>
</div>
<p id="fact"></p>
<div id="new-buttons" class="hidden">
<button id="new-fact">Get Another Fact</button>
<button id="choose-different">Choose Different Type</button>
</div>
</div>
</div>
<footer>
<a href="https://discord.com/invite/2nHHHBWNDw" target="_blank">
<i class="fab fa-discord"></i>
</a>
<a href="https://ko-fi.com/thatsinewave" target="_blank">
<i class="fas fa-heart"></i>
</a>
<a href="https://github.com/ThatSINEWAVE/EverythingCats" target="_blank">
<i class="fab fa-github"></i>
</a>
</footer>
<script src="script.js"></script>
</body>
</html>