forked from WDI-SEA/fetch-dad-jokes-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (25 loc) · 1.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>#1 Dad Joke Generator</title>
<link rel="stylesheet" href="./css/style.css">
<script src="./js/script.js" defer></script>
</head>
<body>
<h1>#1 Dad Joke Generator</h1>
<div>This website is voice activated.</div>
<div>Ensure that your computer mic is on and clearly enunciate the below to generate a dad joke:</div>
<form>
<!-- <button id="dad_button">"I'm not sleeping, I'm just resting my eyes"</button> -->
<button id="dad_button">"Give me a joke that will make my friends like me."</button>
</form>
<div id="display_joke"></div>
</body>
<footer>
<div id="disclaimer"><p>If for reason the voice activation doesn't work, then click on the button to manually submit the magic phrase.</p></div>
<!-- Had to manually copy and paste an empty space to pad hyperlink: https://emptycharacter.com/ -->
<div id="credit">Credit to the <a href="https://icanhazdadjoke.com/api">Icanhazdadjoke API</a> for the dad jokes.</div>
</footer>
</html>