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 Answers
+ 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 :)
Hot today
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
0 Votes
Тренажер кода
0 Votes
Python palindrome challenge.
1 Votes
Java
0 Votes