0

getting some error while creating a quiz..and I can't understand it.please help

Hello guys it's my first javascript project trying to create a quiz. But getting some error ..and I can't understand why are they coming please help ..I m very excited for it.. https://code.sololearn.com/WqIE9mKl859H/?ref=app

11th May 2020, 8:02 AM
Shubham Thakur
Shubham Thakur - avatar
2 Antworten
+ 1
you did 2 basic mistakes. i also commented your mistakes in code (JS section) 1) line 13 and 14, in query selector you have to specify which type of query you are writing, like for id you have to write hash(#) 2) your result function should be outside of your onload event because if it is inside then it won't be accessible because of function scope. https://code.sololearn.com/WQkk2fwvnGHH/?ref=app
11th May 2020, 8:19 AM
Raj Chhatrala
Raj Chhatrala - avatar
0
Thankyou so much mate ...you guys are so helpful 😊
11th May 2020, 8:37 AM
Shubham Thakur
Shubham Thakur - avatar