@@ -14,6 +14,7 @@ export class JosephCaballeroQuiz implements QuizQuestionProvider {
14
14
return [
15
15
JosephCaballeroQuiz . makeQuestion0 ( ) ,
16
16
JosephCaballeroQuiz . makeQuestion1 ( ) ,
17
+ JosephCaballeroQuiz . makeQuestion2 ( ) ,
17
18
] ;
18
19
}
19
20
@@ -30,12 +31,25 @@ export class JosephCaballeroQuiz implements QuizQuestionProvider {
30
31
[ AnswerChoice . C , 'An animal' ] ,
31
32
[ AnswerChoice . D , 'Whatever you want it to be!' ] ,
32
33
] ) ,
33
- AnswerChoice . UNANSWERED ,
34
+ AnswerChoice . B ,
34
35
) ; // Replace `UNANSWERED` with the correct answer | B.
35
36
}
36
37
37
38
private static makeQuestion1 ( ) : QuizQuestion {
38
- return new QuizQuestion ( 1 , 'What is the styling language for HTML?' , '' ) ;
39
+ return new QuizQuestion ( 1 , 'What is the styling language for HTML?' , 'CSS ' ) ;
39
40
// Provide an answer.
40
41
}
42
+ private static makeQuestion2 ( ) : QuizQuestion {
43
+ return new MultipleChoiceQuizQuestion (
44
+ 2 ,
45
+ 'What does CSS stand for ?' ,
46
+ new Map < AnswerChoice , string > ( [
47
+ [ AnswerChoice . A , 'Computing Style Software' ] ,
48
+ [ AnswerChoice . B , 'Cascading Style Sheets' ] ,
49
+ [ AnswerChoice . C , 'Circle Stuff and Stuff' ] ,
50
+ [ AnswerChoice . D , 'Whatever you want it to be!' ] ,
51
+ ] ) ,
52
+ AnswerChoice . B ,
53
+ ) ; // Replace `UNANSWERED` with the correct answer | B.
54
+ }
41
55
}
0 commit comments