+ 14
Please correct my code.
help me to do it. https://code.sololearn.com/WuadySJ83LAb/?ref=app
4 Answers
+ 3
Try this. I modified it to allow repeating changes. On phone, type number in box and click out of box to get results.
https://code.sololearn.com/WijC6uimk5Kz
+ 5
John Wells he only said he needed to correct his code from producing errors.Thats why i didnt entirely change the concepts from the original code.I knew it had to be "day.value" and that the inputs would never update on new inputs,i just did his main priority,"dont produce errors",but its nice you helped
+ 4
đłđŹBrains switch on day is wrong should be day.value, since he wants to test the data from the box. Also, even an onload displays prior to putting data in the box.
+ 2
use document.getElementById("inpu"); I did not understand what you were trying to do.