Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created June 22, 2020 04:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/16a90d35a9e169621c16cdf4e78e8a73 to your computer and use it in GitHub Desktop.
Save parzibyte/16a90d35a9e169621c16cdf4e78e8a73 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Leer código de barras con JavaScript by parzibyte</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p id="resultado">Aquí aparecerá el código</p>
<p>A continuación, el contenedor: </p>
<div id="contenedor"></div>
<!-- Cargamos Quagga y luego nuestro script -->
<script src="https://unpkg.com/quagga@0.12.1/dist/quagga.min.js"></script>
<script src="script.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment