We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1f82ad commit 457e3d1Copy full SHA for 457e3d1
lesson_03/quiz/src/quizzes/Davis_D._quiz.ts
@@ -41,7 +41,7 @@ export class DavisQuiz implements QuizQuestionProvider {
41
[AnswerChoice.B, 'Pay, Listen, Persuade'],
42
[AnswerChoice.C, 'Purpose, Prep, Show-up'],
43
]),
44
- AnswerChoice.UNANSWERED,
+ AnswerChoice.C,
45
); // Provide an answer.
46
}
47
@@ -52,8 +52,18 @@ export class DavisQuiz implements QuizQuestionProvider {
52
new Map<AnswerChoice, string>([
53
[AnswerChoice.A, 'No'],
54
[AnswerChoice.B, 'Yes'],
55
- [AnswerChoice.C, 'Maybe'],
56
- [AnswerChoice.D, 'IDK'],
+ ]),
+ AnswerChoice.UNANSWERED,
57
+ ); // Provide an answer.
58
+ }
59
+
60
+ private static makeQuestion3(): QuizQuestion {
61
+ return new MultipleChoiceQuizQuestion(
62
+ 3,
63
+ 'If we flip a coin...',
64
+ new Map<AnswerChoice, string>([
65
+ [AnswerChoice.A, 'Heads'],
66
+ [AnswerChoice.B, 'Tails'],
67
68
AnswerChoice.UNANSWERED,
69
); // Replace `UNANSWERED` with the correct answer.
0 commit comments