-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
84 lines (80 loc) · 2.27 KB
/
index.html
File metadata and controls
84 lines (80 loc) · 2.27 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<html lang="en-us">
<head>
<meta charset="UTF-8" />
<meta
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
name="viewport"
/>
<link rel="icon" href="./favicon.ico" />
<meta content="ie=edge" http-equiv="X-UA-Compatible" />
<link
href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css"
rel="stylesheet"
/>
<link href="style.css" rel="stylesheet" />
<title>Meme!</title>
</head>
<body>
<!--Header-->
<header class="hero is-link">
<div class="hero-body">
<p class="title has-text-centered">Meme Generator</p>
</div>
</header>
<!--Control-->
<section class="section">
<div class="field has-addons">
<div class="control is-expanded">
<input
class="input is-large is-fullwidth is-family-monospace"
id="top-input"
placeholder="Top text"
type="text"
/>
</div>
</div>
<div class="field has-addons">
<div class="control is-expanded">
<input
class="input is-large is-fullwidth is-family-monospace"
id="bottom-input"
placeholder="Bottom text"
type="text"
/>
</div>
</div>
<div class="field has-addons">
<div class="control is-expanded">
<button
class="button is-link is-large is-fullwidth"
id="go-btn"
>
Go!
</button>
</div>
</div>
</section>
<!--Output-->
<section class="section is-medium pt-0 pb-6 has-text-centered" >
<article class="message is-medium" >
<div class="message-body" id="output">
<div class="meme">
<img id="img" width="800rem" height="auto"/>
<h2 id="top-text" class="top"></h2>
<h2 id="bottom-text" class="bottom"></h2>
</div>
</div>
</article>
</section>
<!--Footer-->
<footer class="footer">
<div class="content has-text-centered">
This program uses the
<a href="https://imgflip.com/api" target="_blank"
>Imgflip API</a
>.
</div>
</footer>
<script src="script.js"></script>
</body>
</html>