Bagaimana Cara Membuat Soal Pilihan Ganda? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 6

Bagaimana Cara Membuat Soal Pilihan Ganda?

Pilihan ganda ada empat opsi, dan acak ketika mengulang soal.

15th Nov 2019, 6:41 AM
Agus Supriyanto
Agus Supriyanto - avatar
4 Antworten
+ 2
I can't type well on my phone, so I will just give suggestion. Try learning DOM manipulation JS or jQuery for easier solution. Create a page load event, and you can create radio button to the designated element using jQuery.
15th Nov 2019, 4:34 PM
Dendi Handian
Dendi Handian - avatar
+ 4
Can you give example code?
15th Nov 2019, 4:22 PM
Agus Supriyanto
Agus Supriyanto - avatar
+ 4
Thanks you very much bro
15th Nov 2019, 4:54 PM
Agus Supriyanto
Agus Supriyanto - avatar
+ 2
1. Create 4 radio input with the same name, but different value 2. Create on change event for each radio button. 3. Inside the event callback function, you decide which option is correct and incorrect
15th Nov 2019, 4:20 PM
Dendi Handian
Dendi Handian - avatar