+ 8
Would someone please help me debug this code?
I keep on getting this error: Reference Error: https://code.sololearn.com/WHiShTdTj0RX/?ref=app
6 Réponses
+ 8
Thanks ODLNT. That stopped the errors. But now the button on line 49 won't work.
+ 8
Thanks ODLNT. I added more div tags around the <input>s. There is only one problem... I guess my logic still isn't right.
+ 5
ODLNT,
On line 3 of the JS code you sent me, there was a comment. Could you explain that in more detail?
+ 5
Oh I get it. Thank you ODLNT !!!!!!!!
+ 1
Hi Elijah,
You only need only one form tag for this page, not every input field
look for spelling randomNum is not the same as RandomNum,
the input value is relevant, therefore it need the id and not the div tag around it,
switch is not possible for greater or less comparisons.
I made some changes,
https://code.sololearn.com/WJwu0nBdOmmM
Your code is fine, is it not so easy, keep it up 👍