0
Syntax error??
https://code.sololearn.com/WUkgTYvt19iE/?ref=app I’m creating this personality test, but for some reason it creates a syntax error when I try to run it. Does anybody know why it’s not working?
3 Respuestas
+ 1
Assigning value to value is a statement
And you should use semicolon between two statement.
If you are getting error like can't set ..... Of null
just put your whole js code in script tag above </body>
Or use this in js page
window.onload=function(){
Your js code here
}
+ 2
You wrote document instead of const in line 14
0
Jnn thank you :)