+ 3
How to use the radiobutton
Hello, i wanna make a quiz, But i dont know how to get the info from the radiobutton. Can someone help me? This is what i tried.. https://code.sololearn.com/W29G7mRQA2p4/?ref=app
2 ответов
+ 6
Here, you can use the 'id' attribute and use it to distinguish the options.
https://code.sololearn.com/WGVyO5zG57tk/?ref=app
But if you use jQuery, you can change attributes for new questions' options.
https://www.sololearn.com/learn/jQuery/2794/?ref=app
Edit: I see that you have already progressed a lot. You're learning fast mine. Good job.
https://code.sololearn.com/Wg9cHNmnObpK/?ref=app
+ 4
You need more CSS and more JS to be able to make a quiz. Here is an example of using the radio button and a great quiz for you to study and learn from.
https://code.sololearn.com/WQDovm16yymH/?ref=app