Hello WIXCode
I ask if there is any totorial to show me how to create this without using any plugins to make my customize codeable quiz with wixcode
quiz will be like this
question timer " count down " - when end automatically press on submit to end
question number/total questions
question title
question answer Number #1
question answer Number #2
question answer Number #3 - correct answer
question answer Number #4
previous button - back to the previous question
next button - go a head for the next question
mark button - mark the question to get back for it later
Hi Abdul,
Creating a quiz system from scratch that includes score keeping, timer, option to save questions for later, is not a simple job and as far as i’m aware there is no tutorial for this specific mechanism.
You can start by exploring the example section
In addition, feel free to search the forum for some more inspiration and code examples from other users.
Generally, there are a lot of parameters that you need to take into account:
-
Is the quiz open for all or do you need to restrict it to 1 quiz per user? then you should think of a way to keep a user list along with this info.
-
what happens if the user closes the quiz before finishing? should he be allowed to continue later?
-
Do you plan on having only one quiz on your site? is it going to be modified later in the future?
If the answer is yes, you should not hard code the questions, and instead invest more time in making the system future proof. this can be done by storing the questions in a collection and creating a system that could generate a quiz based on a collection data.
-
How secure should the site be? Is there a need to make it cheat-proof?
Generally, frontend code is modifiable by site visitors and is considered as not secure.
If you wish to prevent your users from cheating you should implement a combination of front and backend code. for example, keeping the quiz start time in a backend collection instead of a local variable.
Again, this is not a simple system, as there are many other implementation decisions that should be decided upon.
If you have any specific questions, feel free to ask them here.
Good luck!
Thank you for your kind respond
my question was about creating quiz system using wix codes
it will be about 150 question every question have 4 multiple choice
if time end when user doesn`t complete exam it sends the result
every question responded right = 1 point , etc until questions end
in the specific time
Hey Abdul Aziz, how did it went?
I’m starting to make one and would be super helpful to see how you accomplished it
Hi oliver! I am right now trying to do it. Could you tell me a little bit of how did you make yours? Did you use databeses?
Hi oliver! I am right now trying to do it. Could you tell me a little bit of how did you make yours? Did you use databeses?
@bolzanpatrick
@Patrick Bolzan
Using a Multistate-Form like mentioned by ido almost 3-years ago, or using a “Multi-State-Box”.
How to create your own little quiz from scratch, your starting point could be here…
https://russian-dima.wixsite.com/meinewebsite/little-quiz
How to integrate a timer?
https://russian-dima.wixsite.com/meinewebsite/date-time-onclick
Ido also asked a lot of good questions:
- Is the quiz open for all or do you need to restrict it to 1 quiz per user? then you should think of a way to keep a user list along with this info.
Creating a function which will look for the specific logged in user, which will be able to open the quiz with his own User-ID.
- what happens if the user closes the quiz before finishing? should he be allowed to continue later?
Saving the ANSWERS before they get lost, for example by using “Wix-Loca-Storage”, or even a DATABASE.
- Do you plan on having only one quiz on your site? is it going to be modified later in the future?
Creating a quiz with fixed elements and values is not the same, as creating a totaly flexible and expandable quiz, with an integrated DATABASE, which will hold all your Quiz-Content (Questions and possible variety of answers.
As you can see, there is a lot of work to be done, before you get your END-RESULT.
And by the way, it is always recommende to open his own post, with his own issue-topic. And if it is neccassary, you can link this post with your own.
Good luck and happy coding. 