-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (58 loc) · 2.8 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="Description" content="An awesome profile with memes" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.1.0/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
<title>Josh Curry</title>
</head>
<body onload="init()">
<nav class="navbar navbar-expand-lg custom-navbar">
<div class="container">
<a class="navbar-brand" href="index.html">Josh Curry</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" href="about.html">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="shop.html">Shop</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container meme-container">
<h1>Meme Generator</h1>
<!-- Select and Button Row -->
<div class="d-flex justify-content-center align-items-center mb-4">
<label for="subredditInput">Choose a subreddit:</label>
<input list="subreddits" id="subredditSearch" class="form-control" placeholder="Search subreddits..."
width="60%">
<datalist id="subreddits" class="form-select me-2" style="width: 200px;">
<option value="wholesomememes">wholesomememes</option>
</datalist>
<!-- Button to fetch new meme -->
<button id="memeBtn" class="btn btn-meme mb-3">Get a New Meme</button>
</div>
<h3 id="memeTitle"></h3>
<img id="memeImg" class="meme-image d-block mx-auto" src="" alt="Meme will appear here" />
<br />
<p>All images taken from <a href="https://www.reddit.com">reddit.com</a> by <a
href="https://github.com/D3vd/Meme_Api">meme-api.com</a></p>
<br />
<h4>Disclaimer: some memes may be inappropriate, it is not my fault.</h4>
<h4>disclaimer2: Some memes may not even be funny, this is also not my fault.</h4>
<br />
</div>
<script src="script.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.9.2/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.1.0/js/bootstrap.min.js"></script>
</body>
</html>