From 3a6af6a6951894a61ee52348f84b8072468f7cec Mon Sep 17 00:00:00 2001 From: emmymayo Date: Sat, 25 Jan 2025 12:39:39 +0100 Subject: [PATCH] Updated quiz instruction --- README.md | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 320b318..a6a607b 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,6 @@ # Explain project -## Files and folders you will working on for the quiz are the following - -- /public/quiz-test.html -- /public/frontend_css/styles and mobile_styles.css -- /public/frontend_js/quiz-test.js -- /models/ -- /controllers/admin/ -- /views/admin -- /views/partials/admin/nav.eta Admin login @@ -27,13 +18,10 @@ View the quiz on localhost:3001/quiz-test.html Response page of question What would you like to be called?.
Make the name appears centered inside of the jar gif.
![Name centered example](./name_centered.png/ "Jar with centered name")
-You can change the html or the css to do this task.
### Quiz 2 -Each response page should be closed after a set amount of time
-The setTimeout of the response page of previous quiz is not working
-Figure out where this is handled and make a setTimeout to close the response and move on to the next question using the time stored in variable called "closeResponseTimeoutCounter"
+Each response page should be closed after a set amount of time using the time stored in variable called "closeResponseTimeoutCounter"
### Quiz 3 @@ -48,13 +36,16 @@ implement a function that is called checkAllergie()
pseudo steps of the function - find a way to read the dataset values on the html button element that generated the click -- each button should have data-val that contains the label of the option -- check if that previous val is equal to one of these values ["Banana", "Olive", "Sunflowers"] -- if true -> terminate the quiz -- function terminateQuiz should do the following +- check if that previous value is either Banana, Olive or Sunflowers terminate the quiz +- Terminate the quiz in this manner: - the termination process need to display a message to the user with a faded black background that has a message and a counter that when it reachs 0 it redirect to / - ex: ![Termination screen example](./termination_screen.png/ "Termination screen") - message and counter should be controlled from admin portal - create a terminate configuration table with the appropriate fields - create a tab in admin portal to edit these fields - create an api to get these configuration and use it here to construct the termination screen + + +### Quiz 5 + +immplement a functionality for a user to continue from where they stopped if they wish to do so.