#2 Logic Flowchart

Open
opened 1 day ago by addam · 0 comments

Map out the "Global State" of the quiz. Alpine.js works best when you know exactly what variables you are tracking.

List every variable the frontend needs to remember.

Deliverable: A state.json file containing variable names and their starting values.

Example: {"currentQuestionIndex": 0, "userScore": 0, "isQuizStarted": false, "selectedAnswer": null}.

Map out the "Global State" of the quiz. Alpine.js works best when you know exactly what variables you are tracking. List every variable the frontend needs to remember. Deliverable: A `state.json` file containing variable names and their starting values. Example: `{"currentQuestionIndex": 0, "userScore": 0, "isQuizStarted": false, "selectedAnswer": null}`.
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.