I am using the program Coursebuilder to display the quiz' total score for a quiz on multiple pages ( 8 questions: 8 pages)
Displaying the total score on the quiz summary page is not working for me. The problem is the JavaScript coding.
I am pasting in the JavaScript to the quiz summary page:
<script language="Javascript">
<!--
document.writeln("Your score is: " + {[G01.score + G02.score + G03.score +
G04.score + G05.score + G06.score + G07.score + G02.score]/8} " percent."
//-->
</script>
The summary page where the script is posted is:
The GO1.score. GO2.score,... refer to the individual quiz page scores. Correct quiz
answers recieve one point, incorrect none.
The page that defines the variables is at:
The quiz starts at the page:
I would appreciate any help.
Teresa
Displaying the total score on the quiz summary page is not working for me. The problem is the JavaScript coding.
I am pasting in the JavaScript to the quiz summary page:
<script language="Javascript">
<!--
document.writeln("Your score is: " + {[G01.score + G02.score + G03.score +
G04.score + G05.score + G06.score + G07.score + G02.score]/8} " percent."
//-->
</script>
The summary page where the script is posted is:
The GO1.score. GO2.score,... refer to the individual quiz page scores. Correct quiz
answers recieve one point, incorrect none.
The page that defines the variables is at:
The quiz starts at the page:
I would appreciate any help.
Teresa