+ 1
How can I create a quiz app
Hello solo Learners I need ideas on how to create a quiz app with JavaScript, and I don't really know ECMA6
5 Answers
+ 7
You can just use JavaScript. ECMA6 is just a standardized version of a sort-of-messy language.
Anyways, please show us your first attempt. After all, you're the one making, not us.
+ 4
Attach the code here and let's see what went wrong.
+ 2
It's even showing me an error
Something like "Uncaught TypeError : Cannot read property 'addEventListener' "
+ 2
Favour
It's the usual problem here of JavaScript running before the HTML is fully loaded.
To fix it, simply encase everything in the JavaScript tab within:
window.onload = function(){
All of your current JavaScript here
}
That will cause the JavaScript to not run until the HTML is fully loaded and so fixes that error.