Passion Fruit!

Vrinda Vasavada's Blog

Math Quiz Project

on June 24, 2014

Objective: To make a multiple choice math quiz with 4 choices per question.

Program: Sublime Text 3

Steps for Coding:

Starting with the common HTML titles, setup the code for the quiz in terms of formatting. Then, start coding the questions with the radio buttons and the answer choices. Example code is shown in the picture below; repeat this step for each question. Remember to check your work as you go to avoid errors.

question code

Because the example code contains 10 questions and my quiz only needs 6, bracket out the rest of the code. See the picture below for details on how to do so.bracketing out code

Now that you are done making the questions for the quiz, use the java script templates given. In this project, the actual java script files are not used but are just shown to show how to link java script files into html code!

ending code3

Time to test your knowledge:

Smile and wave, Vrinda Vasavada 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: