-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (55 loc) · 1.78 KB
/
index.html
File metadata and controls
61 lines (55 loc) · 1.78 KB
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
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Random cat facts 🐱</title>
</head>
<body>
<script
src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo="
crossorigin="anonymous"
></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.waitforimages/1.5.0/jquery.waitforimages.min.js"></script>
<div class="container">
<div class="loading-overlay">
<span class="loader"></span>
<h1 style="color: var(--text-color)">Please wait...</h1>
</div>
<div class="bg"></div>
<main>
<h1 id="fact">Random cat facts 🐱</h1>
<div class="i-lo">
<p class="instruction">
Click the button to get random facts about cats
</p>
<span class="loader"></span>
</div>
<button class="btn-primary" id="getFacts">
Give me random facts 🐱
</button>
<p class="credit">
API used :
<span><a href="https://cataas.com/" target="_blank">cataas</a></span>
&
<span
><a
href="https://github.com/wh-iterabb-it/meowfacts?tab=readme-ov-file"
target="_blank"
>meowfacts</a
></span
><br /><br />
<span
><a
href="https://github.com/itsJustFarid/Random-Cat-Facts/"
target="_blank"
>Repository</a
></span
>
</p>
</main>
</div>
<script src="script.js"></script>
</body>
</html>