问题描述
你好,
在我开始之前,原作者不再来这里,所以任何能够帮助我的人都将不胜感激!
这是我在这里找到的应用程序的链接: JavaScript测验
我想更改测验以使用复选框而不是单选按钮,以便我可以选择一个以上的正确答案.我设法更改了按钮,但现在不知道如何更改代码以使其正常工作.因此,例如,我希望能够选择两个正确的答案,并且该程序将能够通过显示正确的输出来正确处理它.
许多粉丝,
Mukhtar
Hi there,
Before I begin, the original author no longer comes on here so anyone who would be able to help I would GREATLY appreciate it!
Here''s a link to an application I found on here: Javascript Quiz
I want to change the quiz to use checkboxes instead of radio button so I can select more then one right answer. I managed to change the buttons, but now have no idea how to change the code for it to work. So for example, I want to be able to select two right answers and the program will be able to handle it correctly by displaying the right output.
Many Fanks,
Mukhtar
推荐答案
这篇关于面向对象的JavaScript测验的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!