Checking a math quiz

My homework assignment is to create a page with a 6th grade math quiz. The answers to the questions are to be stored in hidden fields and then compared to what is chosen from the radio buttons. I can't get this to work, and at this point have no idea how far gone my code is. I have made so many attempts at this, so please...any help would be greatly appreciated...and forgive the nasty looking code! :)

[code]


Math Quiz


function submitForm(){
var count=0;
var isChecked=0;

for (i=0; i


Math Quiz



1. 5 X 6 =


a. 24


b. 30


c. 56


d. 18



2. 7 1/4 + 8 1/2 =


a. 15 3/4


b. 16


c. 12 1/2


d. 7 1/4



3. 8 X 9 =


a. 63


b. 94


c. 72


d. 89



4. 15 + 34 =


a. 22


b. 43


c. 59


d.49



5. 10 - 15 =


a. -5


b. 5


c. 0


d. 25




 


[/code]

Thanks!
Norma :)

Comments

  • I got it fixed...all of this code here was basically garbage...no wonder it wasn't working!

    :)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion