-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (38 loc) · 1.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- fonts -->
<link href="https://fonts.googleapis.com/css2?family=Londrina+Outline&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200&&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="./src/style.css" />
<title>Dad Jokes API</title>
</head>
<body>
<div class="container">
<header>
<h1 class="header">
The <br />
"Try Not To Laugh" <br />
Challenge
</h1>
</header>
<div class="joke__container">
<div id="error-container" class="error__container">
<p>
Something happened and couldn't load the joke! <br />
Tell the devs: <br />
<small id="error-message"></small>
</p>
</div>
<div id="joke"></div>
</div>
<button id="button" class="button" type="button">
<span id="loader" class="button__loader"></span>
<span id="cta" class="button__cta">I'm ready</span>
</button>
</div>
</body>
<script src="./src/script.js"></script>
</html>