-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
33 lines (32 loc) · 854 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<nav></nav>
</header>
<h1>Codecademy PFP Frame Generator</h1>
<main>
<section>
<h2>Upload your profile picture</h2>
</section>
<section>
<input type="file" accept=".jpg, .jpeg, .png" id="input" class="hidden">
<label for="input" id="inputlabel">Upload profile img</label>
<hr>
<div id="result-container">
<h2>Result:</h2>
<canvas id='result'></canvas>
<hr>
</div>
<p>To save the resulting image please right-click it and save from the popup menu.</p>
</section>
</main>
<script src="script.js"></script>
</body>
</html>