Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JonSaraviaZ authored Jul 8, 2024
1 parent 5c1585e commit 9f5c515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ function verificarIntento(){
} else{
//el usuario no acertó
if (numeroDeUsuario>numeroSecreto){
asignarTextoElemento('p','El número secreto es menor');
asignarTextoElemento('p',`El número secreto es menor a ${numeroDeUsuario}`);
} else{
asignarTextoElemento('p','El número secreto es mayor');
asignarTextoElemento('p',`El número secreto es mayor a ${numeroDeUsuario}`);
}
intentos++;
limpiarCaja();
Expand Down

0 comments on commit 9f5c515

Please sign in to comment.