diff --git a/app.js b/app.js index 24beff2..2f629b0 100644 --- a/app.js +++ b/app.js @@ -72,4 +72,7 @@ function reiniciarJuego() { document.querySelector('#reiniciar').setAttribute('disabled','true'); } -condicionesIniciales(); \ No newline at end of file +condicionesIniciales(); + +document.getElementById('intentar').addEventListener('click', VerificarIntento); +document.getElementById('reiniciar').addEventListener('click', reiniciarJuego); \ No newline at end of file diff --git a/index.html b/index.html index 81a8593..b85782e 100644 --- a/index.html +++ b/index.html @@ -21,9 +21,9 @@

- +
- +