-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (51 loc) · 1.66 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
51
52
<!DOCTYPE html>
<html lang="en">
<!-- Head -->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>QR Code Generator</title>
</head>
<!-- Body -->
<body>
<div class="box">
<div class="qr-header">
<h1>Generate QR Code</h1>
<input
type="text"
name="qr-text"
id="qr-text"
placeholder="Enter your text here"
/>
<div>
<label for="qr-size">Select Size</label>
<select id="qr-size">
<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"
integrity="sha512-CNgIRecGo7nphbeZ04Sc13ka07paqdeTu0WR1IM4kNcpmBAUSHSQX0FslNhTDadL4O5SAGapGt4FodqL8My0mA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
</body>
</html>