What's wrong again | Sololearn: Learn to code for FREE!
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

7th Apr 2024, 12:52 AM
Tyler Banks
Tyler Banks - avatar
5 Answers
+ 5
Tyler Banks It is JavaScript not Java. Don't be confused.
7th Apr 2024, 6:14 AM
A͢J
A͢J - avatar
+ 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.
7th Apr 2024, 9:57 PM
Chris Coder
Chris Coder - avatar
+ 3
Your javascript code is incomplete.
7th Apr 2024, 4:25 AM
Gulshan Mahawar
Gulshan Mahawar - avatar
+ 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!
7th Apr 2024, 4:56 AM
Tibor Santa
Tibor Santa - avatar
+ 1
Koli can you fix it please please
7th Apr 2024, 4:26 AM
Tyler Banks
Tyler Banks - avatar