+ 2
How can I create a quiz?
I try to create multiple questions, but when I type <input type="radio" name="answer" /> an answer to choose <br /> for each question, I can only click one circle in the whole website. I cannot click multiple circles. Is there a tag that I can put betwen the questions to prevent this?
7 Respostas
+ 7
No problem ;)
+ 5
What you are looking is:
<input type="checkbox">
+ 5
Ok, now I see what you mean :)
You should use radio buttons.
BUT, please give a different 'name' attribute to each set of answers. Otherwise HTML treats all of the entries as potential answers to one question.
+ 1
doesnt really solve my problem, but i quess it will do, check my code to see what i ment
+ 1
ok, thats the thing, thank you very much
+ 1
ok, fixed the code. im learning css to make it look better, and ill add more questions and the scoreboard at the end
0
type=checkbox