Cris-ti-na / modulo-2-evaluacion-intermedia-Cris-ti-na

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

Mejoras #1

Open pixelmary opened 4 years ago

pixelmary commented 4 years ago

@Cris-ti-na ánimo!

Te dejo estos detalles a mejorar:

pixelmary commented 4 years ago

Really cool job @Cris-ti-na !!!

Here you have some tips to improve the exercise:

JavaScript: basic

JavaScript: advanced

JavaScript: good practices

Good practices

Structure

HTML

CSS

Steps to finish the game (for those far from the solution)

You are close to the exercise solution, but here you have a steps guide to complete it anyway ;)

  1. Save a reference to DOM elements in variables.
  2. Generate the random number and save it to a variable.
  3. Init counter of trials to 0.
  4. Define a function that executes when the user clicks on the button, that
  1. Assign a listener to the button click to execute the previous function.

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!!

Do not close this issue until your teacher asks you to