kopia lustrzana https://github.com/hughchen/qr_image
28 wiersze
460 B
HTML
28 wiersze
460 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="index.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<input
|
|
id="text"
|
|
type="text"
|
|
value=""
|
|
style="width: 80%"
|
|
/>
|
|
|
|
<br><br>
|
|
|
|
<button type="button" onclick="makeCode()">Generate code</button>
|
|
|
|
<br><br>
|
|
|
|
<canvas id="myCanvas" width="300" height="300"></canvas>
|
|
<div id="qrcode" style="display:none;"></div>
|
|
<script src="qrcode.js"></script>
|
|
<script src="index.js"></script>
|
|
</body>
|
|
</html>
|
|
|