The Quiz is created by designing it in HTML and Quiz Logic in JavaScript. It's a very basic and easy to implement Quiz Program. In the quiz program, one question is displayed at a time. It has two buttons next and previous. Answers are selected by checking radio buttons.
Step 1: Design part:
Form is created and <legend> tag is used to give title to the form. Inside the <fieldset> tag a table is created with id attribute.