I want to create MCQ questions

I am running an educational portal using wix website. Now i want to create mcq questions for my students. When they select an option and click submit the answer should also be shown either in a lightbox or in some other way. can i make such mcq based questions through Wix code. I am pretty new to Wix code and not a developer yet kindly help me by giving proper guidance.
Thank you

By MCQ, do you mean Multiple Choice Questions?

Take a look at the docs for $w.RadioButtonGroup . Just add the number of buttons required for each question. This will give you the selection: $w(“#RadioGroup1”).selectedIndex .

Good luck,

Yisrael

Yes multiple choice questions
Is there any video explaining the same?
Could you please let me know if i can make a database with questions and connect the options with the radio button and question text with question field will it work.
As i am new to wix code kindly provide proper guidance
Thank you

Hi,
I recommend checking out our User Input examples for that purpose.

Best,
Tal.

Hey, could you share the link to your education portal website? I have been looking on the internet to create such a portal myself. I assumed that Wix didn’t have an education portal capabilities yet.

I’m not sure to which portal you were referring. You can hover the " Resources " menu button to view all the Wix Code resources we have.

Tal.