Skip to content

Commit 217ee96

Browse files
committed
comment added to line of code for bug fix
1 parent 06e55af commit 217ee96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Frontend/Tutorial Follow up..html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
function checkAnswer()
6868
{
6969
choices = document.getElementsByName("choices");
70-
choice = null;
70+
choice = null; //quiz score miscalculation bug fix
7171
for (var i = 0; i < choices.length; i++)
7272
{
7373
if (choices[i].checked)
@@ -80,7 +80,7 @@
8080
if (choice == questions[pos][4])
8181
{
8282
correct++;
83-
83+
8484
}
8585
pos++;
8686

0 commit comments

Comments
 (0)