New course! Every coder should learn Generative AI!
Try a free lesson+ 1
What's wrong again
Bro can I know what's going on in my Java bro I always doing something wrong in Java can you please find the mistake in this code https://sololearn.com/compiler-playground/W2Y8Xmor04Bp/?ref=app
5 Answers
+ 5
Tyler Banks
It is JavaScript not Java. Don't be confused.
+ 4
Good job so far having the quiz data is a great start. The next step is to initialize the quiz state. I recommended learning about DOM manipulation, including methods like document.getElementById() and document.querySelector(), using addEventListener() for handling events, and the use of if statements for logical operations.
+ 3
Your javascript code is incomplete.
+ 2
Tyler Banks you can fix the syntax error by closing the JSON object on the JS tab with "}]
But this will not make the object meaningful.
And by "incomplete" Koli means that your javascript logic is 0% done. You only have some partial data. You need to write the code first, before asking someone to fix it!
+ 1
Koli can you fix it please please