@@ -14,7 +14,8 @@ All basics Questions are created in the quizEntity.json. We have to add :
...
@@ -14,7 +14,8 @@ All basics Questions are created in the quizEntity.json. We have to add :
- source => Source of the explanaition
- source => Source of the explanaition
In the question page the user have to select an answer and click validate.
In the question page the user have to select an answer and click validate.
Then, he sees the right answer and a modal with the explaination and the source. After this modal, he goes to the next question.
Then, he sees the right answer and a modal with the explanation and the source. After this modal, he goes to the next question.
Depends on the answer, the question result state is set either correct or incorrect.
### Custom Question
### Custom Question
...
@@ -25,6 +26,7 @@ At the end of every quiz, we're creating a custom question. During the creation
...
@@ -25,6 +26,7 @@ At the end of every quiz, we're creating a custom question. During the creation
We get all this information to determine the custom question (All information are in the quizEntity.json). Depending of the question type, the system calcul a maximum or an average data.
We get all this information to determine the custom question (All information are in the quizEntity.json). Depending of the question type, the system calcul a maximum or an average data.
Then, he generate two randoms answers following the right answer.
Then, he generate two randoms answers following the right answer.
A user can stop during a quiz and picks up where he left off. To define where the user left off, we have to check if at least one of the question result status is unlocked.