Error in HTML Quiz, I can't find the error in this HTML Quiz |
Error in HTML Quiz, I can't find the error in this HTML Quiz |
needausername |
Sep 24 2015, 08:07 AM
Post
#1
|
Group: Members Posts: 3 Joined: 24-September 15 Member No.: 23,570 |
Hi,
I've have a quiz that I produce online that I have done lots of times with different questions. However, this time question 1 (in the first quiz) is coming up as incorrect, producing a score of zero. The correct answer is 'Eventual'. It appears to me the quiz is correctly formatted. On the odd occasion this does happen, but within 5 minutes I can find an error, such as a space where it should not be for example. But I cannot see any error in this one. I'd appreciate if anyone who's knowledgeable on this may be able to spot something I have missed. I've attached the HTML (please note again it is the first quiz, as there are two there). Thanks a lot Attached File(s) quiz.html ( 15.57k ) Number of downloads: 248 |
Christian J |
Sep 24 2015, 11:10 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
CODE answers[0] = "?Eventual"; The question mark above shouldn't be there. As a sidenote this HTML should be removed too, but it doesn't affect the script: CODE <script> </script> </div> |
needausername |
Sep 24 2015, 12:44 PM
Post
#3
|
Group: Members Posts: 3 Joined: 24-September 15 Member No.: 23,570 |
CODE answers[0] = "?Eventual"; The question mark above shouldn't be there. As a sidenote this HTML should be removed too, but it doesn't affect the script: CODE <script> </script> </div> Hi, There is no question mark in the html I am viewing in dreamweaver so I'm not sure what you are referring to. I've copied what I am viewing in the attached word document. Thanks again |
needausername |
Sep 24 2015, 12:48 PM
Post
#4
|
Group: Members Posts: 3 Joined: 24-September 15 Member No.: 23,570 |
That's odd - as I said there was no question mark in my version at all, but I deleted "Eventual" and wrote it in again and it now works.
So must have been some kind of quirk with dreamweaver. Anyway, now sorted so thanks, This post has been edited by needausername: Sep 24 2015, 12:48 PM |
Lo-Fi Version | Time is now: 19th April 2024 - 04:50 AM |