Skip to content

Commit 6dc01f2

Browse files
committed
Fixed question errors.
1 parent 4e572db commit 6dc01f2

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

lesson_03/quiz/quiz.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ quiz:
1818
- $2y$10$XcsVuO66KZiUiN75NtssdOkKvHKhuBo91JgE/TJEnSrrzbhjxuql.
1919
- $2y$10$9fZs867NHxoPQ/VWMeLyj.us5Kg3SLPcbt9O5ki/FdJ37TbhgFMFC
2020
- $2y$10$GfjcKvtzr6n8553Mdr1RJOOYDfzOudlW.3i8otsH0HiW52CU7tUAW
21+
shawndunsmore:
22+
- $2y$10$Kpde4LAfDyEhgWezFoI5texc53Sge6QQs8y5hR8DA7zHfyK8It5LW
23+
- $2y$10$T061IZuccoHb2XGjaICB/Olchf62DqrSDVIE0TE9Q9qidfLAL7sHS
24+
- $2y$10$T061IZuccoHb2XGjaICB/Olchf62DqrSDVIE0TE9Q9qidfLAL7sHS

lesson_03/quiz/src/quizzes/shawn_dunsmore_quiz.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class ShawnDunsmoreQuiz implements QuizQuestionProvider {
2121
private static makeQuestion0(): QuizQuestion {
2222
return new MultipleChoiceQuizQuestion(
2323
0,
24-
'What is Davids Favorite?',
24+
'What is Davids Favorite Color?',
2525
new Map<AnswerChoice, string>([
2626
[AnswerChoice.A, 'Idc'],
2727
[AnswerChoice.B, 'Blue'],
@@ -33,11 +33,17 @@ export class ShawnDunsmoreQuiz implements QuizQuestionProvider {
3333
}
3434

3535
private static makeQuestion1(): QuizQuestion {
36-
return new QuizQuestion(
36+
return new MultipleChoiceQuizQuestion(
3737
1,
3838
'What is Jordan famous for?',
39-
'Pickle ball champion',
40-
); // Provide an answer.
39+
new Map<AnswerChoice, string>([
40+
[AnswerChoice.A, 'Photography'],
41+
[AnswerChoice.B, 'Being short'],
42+
[AnswerChoice.C, 'Pickleball'],
43+
[AnswerChoice.D, 'Trampoline Dunking.'],
44+
]),
45+
AnswerChoice.UNANSWERED,
46+
); // Replace `UNANSWERED` with the correct answer.
4147
}
4248

4349
private static makeQuestion2(): QuizQuestion {

0 commit comments

Comments
 (0)