0
Why am i getting this error?
the multiplier works but im getting a console error with the uncaught type error for .value..any ideas why? https://code.sololearn.com/WcOldIK21y17/?ref=app
7 odpowiedzi
+ 2
If this helps☺️☺️
https://code.sololearn.com/WdS6rqy8lb0F/?ref=app
+ 1
Remove the 'myFunction()' code on line 7 in your javascript code. It's the cause of your error.
+ 1
hey thanks..i guess it wasnt needed since the html was calling the function?
+ 1
Correct. There was no need for it.
0
why does putting it in the html not cause an error
0
Simply comment the myFunction() line in js tab. The error is because you call the function before your html is loaded.
0
the window.onload didnt work..im unsure what you mean by comment in js tab