-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (32 loc) · 1.24 KB
/
index.html
File metadata and controls
32 lines (32 loc) · 1.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Meme Maker</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="color-options">
<input id="color" type="color" />
<div class="color-option" style="background-color: #2ecc71" data-color="#2ecc71"></div>
<div class="color-option" style="background-color: #f1c40f" data-color="#f1c40f"></div>
<div class="color-option" style="background-color: #d35400" data-color="#d35400"></div>
<div class="color-option" style="background-color: #2c3e50" data-color="#2c3e50"></div>
</div>
<canvas></canvas>
<div class="btns">
<input id="line-width" type="range" min="1" max="10" value="5" step="0.5" />
<button id="mode-btn">Fill</button>
<button id="destroy-btn">Destroy</button>
<button id="eraser-btn">Eraser</button>
<label for="file">
Add Photo
<input type="file" accept="image/*" id="file" />
</label>
<input type="text" placeholder="텍스트를 입력해주세요" id="text" />
<button id="save">Save Image</button>
</div>
<script src="app.js"></script>
</body>
</html>