-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (48 loc) · 1.87 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dad Joke Generator</title>
<link rel="stylesheet" href="app.css">
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
</head>
<body>
<div class="wrapper">
<h1>Dad Joke<br>Generator</h1>
<h2>This is a demo of basic AJAX and working with API's</h2>
<p>Scroll down to start!</p>
</div>
<div id="jokeWrapper">
<section id="dadJokes">
<h3>Click the button to get a dad joke!</h3>
<input type="number" name="number" placeholder="How many jokes?"><button>Click me!</button>
<ul id="jokes">
</ul>
</section>
</div>
<footer id="footer">
<h3>This (mostly) useless creation is made by <a href="https://twitter.com/PetePeteRepeat_"
target="_blank">@PetePete_Repeat</a>
</h3>
<div id="footerWrapper">
<div>
<h4>© Peter Woodhead 2021</h4>
<p>(Credit to <a href="https://icanhazdadjoke.com/" target="_blank">Icanhazdadjoke</a> for the API!)</p>
</div>
<div id="socials">
<h4>Socials</h4>
<a href="https://twitter.com/PetePeteRepeat_" target="_blank">Twitter</a>
<a href="https://youtube.com/PetePeteRepeat" target="_blank">YouTube</a>
<a href="https://github.com/gr33nMari0" target="_blank">Github</a>
</div>
<div id="dumb">
<h4>Other Dumb Creations</h4>
<a href="http://lolpranked.tk" target="_blank">LolPranked</a>
<a href="http://buyanewphone.tk" target="_blank">BuyANewPhone</a>
</div>
</div>
</footer>
<script src="app.js"></script>
</body>
</html>