forked from Pranav-95/Random-Joke-Generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (38 loc) · 1.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="4265826.ico" />
<title>Random Jokes Generator</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" />
<!-- Link for fonts-->
<link rel="stylesheet" href="style.css" />
<!-- Link CSS -->
</head>
<body>
<div class="container">
<div class="toggle" id="toggle">
<!-- to switch between light and dark mode-->
<i class="far fa-moon"></i>
</div>
<h1 id="main-joke-heading-in-h1" class="heading">Random Joke Generator</h1>
<hr style="width: 50%; color: black" />
<div id="joke" class="joke"><b>Here's your Joke!/b></div>
<div class="copy-popup"></div>
<button id="btn" class="btn"><b>Click to get a Joke</b></button>
<button id="copy_joke" class="copy_btn btn">
<i class="fa-regular fa-copy"></i>
</button>
</div>
<div class="lds-ring" id="loading">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<script src="script.js"></script>
<!-- Link JS -->
</body>
</html>