mirror of
https://github.com/CristianCruz0309/juego_secreto.git
synced 2026-10-14 04:29:09 +00:00
Buttons not responding in uploaded game (6a60fa3e0206be093c22291c)
This commit is contained in:
1 parent
1848ff37d3
commit
12ba680876
2 files changed
+6
-3
No files matched your search
@@ -72,4 +72,7 @@ function reiniciarJuego() {
|
||||
document.querySelector('#reiniciar').setAttribute('disabled','true');
|
||||
}
|
||||
|
||||
condicionesIniciales();
|
||||
condicionesIniciales();
|
||||
|
||||
document.getElementById('intentar').addEventListener('click', VerificarIntento);
|
||||
document.getElementById('reiniciar').addEventListener('click', reiniciarJuego);
|
||||
+2
-2
@@ -21,9 +21,9 @@
|
||||
<h1></h1>
|
||||
<p class="texto__parrafo"></p>
|
||||
</div>
|
||||
<input type="number" min="1" max="50" class="container__input">
|
||||
<input type="number" min="1" max="50" class="container__input" id="valorUsuario">
|
||||
<div class="chute container__botones">
|
||||
<button class="container__boton">Intentar</button>
|
||||
<button class="container__boton" id="intentar">Intentar</button>
|
||||
<button class="container__boton" id="reiniciar" disabled>Nuevo juego</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user