-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
50 lines (47 loc) · 1.96 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Make A Meme</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto&display=swap">
<script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script>
</head>
<body>
<div class="header-container">
<h1>Make A Meme</h1>
</div>
<div class="meme-container">
<div class="file-input-container">
<label class="file-input-label" for="imageInput">Choose File</label>
<input type="file" id="imageInput" accept="image/*">
</div>
<span class="no-file-chosen" id="fileChosenText">No file chosen</span>
<div id="memeContainer">
<img id="memeImage" alt="Selected Image" src="static.png">
<div id="topText" contenteditable="true" class="memeText">Top Text</div>
<div id="bottomText" contenteditable="true" class="memeText">Bottom Text</div>
<div class="watermark">Made using hgjajoo's MakeAMeme</div>
</div>
<br>
<div class="button-group">
<button id="increaseFontSize">Increase Font Size</button>
<input type="color" id="textColor" value="#ffffff" title="Text Color">
<button id="decreaseFontSize">Decrease Font Size</button>
</div>
<button id="downloadButton">Download Meme</button>
</div>
<div class="footer-container">
<div class="social-links">
<a href="https://www.github.com/hgjajoo/" target="_blank" title="GitHub">
<img src="github.png" alt="GitHub">
</a>
</div>
<p class="readme-link">
For more details, check the <a href="https://github.com/hgjajoo/MakeAMeme/#README" target="_blank">README.md</a>.
</p>
</div>
<script src="script.js"></script>
</body>
</html>