mirror of
https://github.com/CristianCruz0309/juego_secreto.git
synced 2026-08-15 02:50:08 +00:00
Ajuste para 50 del número máximo
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
let numeroSecreto = 0;
|
let numeroSecreto = 0;
|
||||||
let Intentos = 0;
|
let Intentos = 0;
|
||||||
let numerosSorteados = [];
|
let numerosSorteados = [];
|
||||||
let numeroMaximo = 100;
|
let numeroMaximo = 50;
|
||||||
|
|
||||||
function asignarTextoElemento(elemento, texto) {
|
function asignarTextoElemento(elemento, texto) {
|
||||||
let elementoHTML = document.querySelector(elemento);
|
let elementoHTML = document.querySelector(elemento);
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@
|
|||||||
<h1></h1>
|
<h1></h1>
|
||||||
<p class="texto__parrafo"></p>
|
<p class="texto__parrafo"></p>
|
||||||
</div>
|
</div>
|
||||||
<input type="number" min="1" max="100" class="container__input">
|
<input type="number" min="1" max="50" class="container__input">
|
||||||
<div class="chute container__botones">
|
<div class="chute container__botones">
|
||||||
<button class="container__boton">Intentar</button>
|
<button class="container__boton">Intentar</button>
|
||||||
<button class="container__boton" id="reiniciar" disabled>Nuevo juego</button>
|
<button class="container__boton" id="reiniciar" disabled>Nuevo juego</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user