-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
32 lines (31 loc) · 888 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>
<head>
<title>QR Code Generator</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1 class="heading">QR Code Generator</h1>
<div class="container">
<section class="form">
<!-- form element to apply HTML validation -->
<form id="qrCodeForm">
<div class="form-group">
<label for="url">Enter URL</label>
<input type="url" id="urlInput" placeholder="Enter URL here" />
<button type="submit" class="btn">Generate</button>
</div>
<div id="qrCode"></div>
<a
class="btn-reverse"
id="downloadLink"
style="display: none"
target="_blank"
>Download your QR Code</a
>
</form>
</section>
</div>
<script src="generate.js"></script>
</body>
</html>