-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (40 loc) · 1.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>QR Code Generator | Code Traversal</title>
</head>
<body>
<div class="box">
<div class="qr-header">
<h1>Generate QR Code</h1>
<input type="text" placeholder="Type your text or URL" id="qr-text">
<div>
<label for="sizes">Select Size:</label>
<select id="sizes">
<option value="100">100x100</option>
<option value="200">200x200</option>
<option value="300">300x300</option>
<option value="400">400x400</option>
<option value="500">500x500</option>
<option value="600">600x600</option>
<option value="700">700x700</option>
<option value="800">800x800</option>
<option value="900">900x900</option>
<option value="1000">1000x1000</option>
</select>
</div>
</div>
<div class="qr-body"></div>
<div class="qr-footer">
<a href="" id="generateBtn">Generate</a>
<a href="" id="downloadBtn" download="QR_Code.png">Download</a>
</div>
</div>
<script src="script.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js"></script>
</body>
</html>