WEBVTT

1
00:00:00.000 --> 00:00:01.241
If you didn't get everything,

2
00:00:01.241 --> 00:00:03.781
you can code along with me
while I show you how I did it.

3
00:00:03.781 --> 00:00:08.230
I'll start with keeping track of questions
that were answered either correctly or

4
00:00:08.230 --> 00:00:09.065
incorrectly.

5
00:00:09.065 --> 00:00:13.958
Up top,
I'll create two empty arrays to hold each

6
00:00:13.958 --> 00:00:18.279
set of questions, correct and incorrect.

7
00:00:20.235 --> 00:00:24.062
When a user types the correct
answer to a question,

8
00:00:24.062 --> 00:00:27.542
I'll add that question
to the correct array.

9
00:00:27.542 --> 00:00:30.000
The if statement here checks if the user's
response matches the correct answer.
