Closed nasivuela closed 5 years ago
Hello @nasivuela, I correct the issues and now the game works properly, please, check it to know if it is ok.
Awesome @joanajimfer !!
I'm closing this, but here you have more tips if you want to keep improving it:
;
parseInt(writePlayerNumber)
, what about saving that into a constant to reuse it?writtingPlace.innerHTML = 'something';
, what moving it to a function to reuse it?
Good job @joanajimfer !!!
Here you have some tips to improve the exercise:
label
to define the content of the inputfor
attribute of the label and theid
of the inputreturn
statement in a callback to return a value because it's not possible to get the value in theaddEventListener
You are close to the exercise solution, but here you are a steps guide to complete it anyway ;)
Let me know if you have any doubts ;)
Go for it!!