Adalab / modulo-2-evaluacion-intermedia-INDRAKL

modulo-2-evaluacion-intermedia-INDRAKL created by GitHub Classroom
http://beta.adalab.es/modulo-2-evaluacion-intermedia-INDRAKL/
0 stars 1 forks source link

Some improvements #1

Open igarrido-adalab opened 10 months ago

igarrido-adalab commented 10 months ago

Really cool job @INDRAKL !!!

Here you have some tips to improve the exercise:

JavaScript: basic

JavaScript: advanced

Good practices

Structure

Further challenges

Then you can improve the game as you please, here you have some ideas:

Call to action

Let me know if you have any doubts ;)

Go for it!!

From now on you can commit your changes to the main branch of your project. Do not close this issue until your teacher asks you to

INDRAKL commented 9 months ago

Gracias por los comentarios. ¿A qué te refieres con este issue Watch out for constant names used to save DOM references... Do we want to use the DOM reference or that DOM element content (innerHTML/value)? (i.e. textTry or attemps)? Mil gracias

igarrido-adalab commented 9 months ago

Creo que ya lo hablamos en persona, pero lo dejo aquí por escrito: Me refiero a que los nombres de las variables no sean susceptibles de confundir lo que contienen. Por ejemplo, la variable attempts parece que puede almacenar el número de intentos pero en realidad tiene el elemento del HTML de la página que muestra a la usuaria los intentos. Un nombre mejor sería attemptsParagraph