You can try using a variable that keeps track of how many questions are filled in a section, and then checking that to decide whether to display the next section. Something like:
//count of questions answered
var s1count = 0;
//question 1
if (document.getElementById('S1Q1A').checked || document.getElementById('S1Q1B').checked || document.getElementById('S1Q1C').checked || document.getElementById('S1Q1D').checked) {
s1count++;
}
//question 2
if (document.getElementById('S1Q2A').checked || document.getElementById('S1Q2B').checked || document.getElementById('S1Q2C').checked || document.getElementById('S1Q2D').checked) {
s1count++;
}
//and so on...
//check the count, say if section 1 has 5 questions
if (s1count == 5) {
document.getElementById("sectiontwo").style.display = "block"; //or inline
}
Answer from flowstoneknight on Stack OverflowW3Schools
w3schools.com › js › js_quiz.asp
JavaScript Quiz
The test is not official, it's just a nice way to see how much you know, or don't know, about JavaScript. You will get 1 point for each correct answer. At the end of the Quiz, your total score will be displayed.
Reddit
reddit.com › r/webdev › a set of 72 (so far) multiple choice questions to test out your javascript knowledge
r/webdev on Reddit: A set of 72 (so far) multiple choice questions to test out your JavaScript knowledge
January 27, 2020 - You can find it here: https://codepen.io/j0be/pen/WMBWOW · To use, simply drag the big red button onto your bookmarks toolbar, then visit your Reddit user profile page and click on the bookmarked red button (not the Power Delete Suite website itself) and you can replace your comments and posts too. ... Great! Really useful. ... Thanks for this! Verry cool. How to study for Technical MCQ assessment for companies such as capgemini? ... Basic HTML & Javascript in Notepad.
html - JavaScript multiple choice quiz. Correct answers display element - Stack Overflow
I'm new to JavaScript, but i'm trying to create a multiple choice quiz in with 4 questions in each section. Once all the answers have been correctly answered in that section then it will display the next section. For my HTML I'm using tables and have the entire section stored in these individual tables which have id's labeled "sectionone", "sectiontwo" and so on. The code ... More on stackoverflow.com
Javascript Radio Multiple Choice
Trying to have each validation message next to each radio button instead of just having the error at the bottom of each question. I know I should be using span elements next to each item, but I’m not sure how to approach it with the code with the way I have it setup. More on forum.freecodecamp.org
A set of 72 (so far) multiple choice questions to test out your JavaScript knowledge
This is really cool! This question seems kind of lame though. Obviously code will do different things in different environments, but by that logic "it depends" is the correct answer to every single question. More on reddit.com
I made a fun JavaScript quiz that will test your knowledge on somewhat obscure JS syntax. You'll be shown 25 expressions and will have to guess the output. Please give it a try and let me know what you think :)
Opened the console while taking the quiz and almost spat my water out when i saw the "Hey stop cheating!" 10/10 quiz!
More on reddit.comVideos
24:53
JavaScript Quiz for Beginners - YouTube
07:35
How to create a MULTIPLE CHOICE ACTIVITY using HTML and JavaScript ...
16:32
How to Make a Multiple Choice Quiz using HTML, CSS, and JavaScript ...
34:23
How To Make Quiz App Using JavaScript | Build Quiz App With HTML ...
01:03:00
Quiz App JavaScript with Timer | Multiple Choice in HTML, CSS & ...
18:47
JavaScript : Multiple Choice Quiz Tutorial - YouTube
GitHub
github.com › CodeExplainedRepo › Multiple-Choice-Quiz-JavaScript
GitHub - CodeExplainedRepo/Multiple-Choice-Quiz-JavaScript: A Multiple Choice Quiz Created Using JavaScript
A Multiple Choice Quiz Created Using JavaScript. Contribute to CodeExplainedRepo/Multiple-Choice-Quiz-JavaScript development by creating an account on GitHub.
Starred by 87 users
Forked by 112 users
Languages JavaScript 53.8% | CSS 33.8% | HTML 12.4% | JavaScript 53.8% | CSS 33.8% | HTML 12.4%
GeeksforGeeks
geeksforgeeks.org › javascript › create-a-quiz-app-with-timer-using-html-css-and-javascript
Create a Quiz App with Timer using HTML CSS and JavaScript - GeeksforGeeks
In this tutorial, we will build a Quiz App that features a timer, allowing users to take a timed quiz with multiple-choice questions. The app will use HTML for the structure, CSS for styling, and JavaScript for functionality, including the timer and score tracking.
Published July 23, 2025
CodeScracker
codescracker.com › exam › showtest.php
JavaScript Online Quiz Test
JavaScript Online Quiz Test: Examine your skills in JavaScript by taking the test. All JavaScript quizzes are based on multiple-choice questions (MCQs).
WsCube Tech
wscubetech.com › resources › javascript › quiz
JavaScript MCQs (Free Online JavaScript Quiz Test)
Test your JavaScript knowledge with our free online JS MCQ quiz. Improve your coding skills and level up with our comprehensive JavaScript quiz. Test now!
Scribd
scribd.com › document › 373510921 › JavaScript-Multiple-Choice-Questions-and-Answers
JavaScript MCQ Questions and Answers | PDF
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
IncludeHelp
includehelp.com › mcq › javascript-multiple-choice-questions-mcqs.aspx
JavaScript MCQs (Multiple-Choice Questions and Answers)
The following are the 83 multiple-choice questions and answers with explanation on JavaScript. 1. JavaScript is the programming language of the _____. ... JavaScript is the programming language of the Web. ... JavaScript is an object-oriented based programming language. ... The correct statement about the JavaScript programming language is "It is a scripting language used to make the website interactive". ... The JavaScript code is written inside the <script>...</script> tag/element.
CodeChef
codechef.com › skill-test › javascript
JavaScript Online Test & Quiz
Take the JavaScript Online Test & Quiz assessment to evaluate practical skills effectively using a set of well-designed, high-quality questions.
Wayground
wayground.com › admin › quiz › 5c61f73ccc5571001af9e12b › quizz-javascript
Quizz JavaScript Quiz
We cannot provide a description for this page right now
W3Schools
w3schools.com › quiztest › quiztest.asp
W3Schools JavaScript Quiz
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.
GeeksforGeeks
geeksforgeeks.org › quizzes › javascript-course-quiz-1
Quiz about JavaScript Course | Practice Quiz-1
April 2, 2024 - What does IIFE stands for in javascript · Invoked Immediately Functions Expressions · Immediately Invoked Functions Expressions · Both a and b · None of the above · Question 7 · What will be the output of the following code: let person = { name: "Alex", greet: function() { console.log("Hello, " + this.name); } }; let greetFunc = person.greet; greetFunc(); Hello, Alex ·