first commit
This commit is contained in:
commit
91ba9bdb23
5 changed files with 584 additions and 0 deletions
40
index.html
Normal file
40
index.html
Normal file
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<title>Make a QR code</title>
|
||||
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
|
||||
<script src="qrcode.js"></script>
|
||||
<script src="script.js" defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Make a QR code</h1>
|
||||
</header>
|
||||
<main>
|
||||
<label for="text">Text or URL:</label>
|
||||
<input id="text">
|
||||
<div id="qrcode"></div>
|
||||
<dl id="download">
|
||||
<dt>SVG</dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li><a id="download-svg" download>SVG</a></li>
|
||||
<li><button id="copy-to-clipboard-svg">Copy to clipboard</button></li>
|
||||
</ul>
|
||||
</dd>
|
||||
<dt>PNG</dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li><a id="download-png" download>Download PNG</a>.
|
||||
<li><button id="copy-to-clipboard-png">Copy to clipboard</button></li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue