-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (25 loc) · 882 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dad Jokes Generator</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.21.1/axios.min.js"
integrity="sha512-bZS47S7sPOxkjU/4Bt0zrhEtWx0y0CRkhEp8IckzK+ltifIIE9EMIMTuT/mEzoIMewUINruDBIR/jJnbguonqQ=="
crossorigin="anonymous">
</script>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container"><h3>Wanna hear a corny dad-joke?</h3>
<div id="joke" class="joke">
Corny dad-joke here
</div>
<button id="jokeBtn" class="btn">
Get another joke
</button>
</div>
<p class="source"> <strong>Source:</strong> <a>icanhazdadjoke.com</a></p>
<script src="script.js"></script>
</body>
</html>