Code for quiz for no of qusition done from total quistion.please help. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Code for quiz for no of qusition done from total quistion.please help.

I want a code for my quiz in which it show in bottom the question which is running from the total question. example: Question x of y. Question 2 of 5. Question 1 of 5. etc.

13th Nov 2017, 1:18 PM
Divyanshu Pandey
Divyanshu Pandey - avatar
1 Answer
+ 2
Without your code, what code I give would be useless. Put a id labeled paragragh or division at the bottom of your question. In JS, lookup the new id (getElementById), change it's innerHTML to be your filled out "Question x of y."
13th Nov 2017, 1:30 PM
John Wells
John Wells - avatar