what is wrong with my javascript in my website?

Can someone explain why my code isn't working, what i want to achieve is a multiple choice quiz with three questions, two of them switch to a red image when clicked, the other goes green and runs javascript which shows a div containing the link to the next page button.
Tennis
Squash
Badminton
i know my code is a bit messy...sorry arran-15 year old web coder Edit- i have placed it in my dropbox so you can see my problem. [Click Here][1] what i am trying to do is, when you click the image next to tennis or squash it turns red (false.png) and when they click badminton it turns green (true.png), which then makes the next question appear, at the moment only the next question appears and i'm having trouble with the images changing [1]: http://dl.dropbox.com/u/13722201/website/quiz.html
Any errors in the JavaScript console?

以上就是what is wrong with my javascript in my website?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏