Skip to content

Commit f563e92

Browse files
committed
fix changes to lesson_05
1 parent 9833319 commit f563e92

File tree

2 files changed

+18
-28
lines changed

2 files changed

+18
-28
lines changed

lesson_05/dasiaenglish/lesson_05.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
# Shein app
44
-As a shopper I would like to virtually try on clothing items to see if they fit or not before purchasing.
5+
This will help reduce returns and ensure customer satisfaction by allowing users to feel more confident in their purchases.
56

67
-As a buyer I would like to know exaclty how much I am spending, with a recommendation on what is worth my dolor, by grouping clothes a certain way.
8+
This will help shoppers make more informed decisions and feel like they're making smart purchases, leading to a better shopping experience.
79

810

9-
-giAs a fashionesta I want a personalized stylist to creat outfits with what is in my cart, that way I can mix and match my clothes.
11+
-As a fashionesta I want a personalized stylist to creat outfits with what is in my cart, that way I can mix and match my clothes.
12+
This will enhance the shopping experience by helping users create stylish, personalized outfits, making them more likely to buy multiple items and enjoy their purchase.

lesson_05/quiz/src/lesson5.ts

Lines changed: 14 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@ import {
22
AnswerChoice,
33
MultipleChoiceQuizQuestion,
44
QuizPrinter,
5-
QuizQuestion,
6-
} from "codedifferently-instructional"; //dasiaenglish
7-
5+
} from "codedifferently-instructional";
86
export class Lesson5 {
9-
run(): void {
7+
run() {
108
const quizQuestions = Lesson5.makeQuizQuestions();
119
if (!quizQuestions) throw new Error("Quiz questions cannot be null");
1210
const printer = new QuizPrinter();
1311
printer.printQuiz(quizQuestions);
1412
}
15-
16-
static makeQuizQuestions(): QuizQuestion[] {
13+
static makeQuizQuestions() {
1714
return [
1815
Lesson5.makeQuestion0(),
1916
Lesson5.makeQuestion1(),
@@ -27,8 +24,7 @@ export class Lesson5 {
2724
Lesson5.makeQuestion9(),
2825
];
2926
}
30-
31-
private static makeQuestion0(): QuizQuestion {
27+
static makeQuestion0() {
3228
return new MultipleChoiceQuizQuestion(
3329
0,
3430
"What is the purpose of the <h1> tag in HTML?",
@@ -41,8 +37,7 @@ export class Lesson5 {
4137
AnswerChoice.B,
4238
);
4339
}
44-
45-
private static makeQuestion1(): QuizQuestion {
40+
static makeQuestion1() {
4641
return new MultipleChoiceQuizQuestion(
4742
1,
4843
"Which attribute is used to specify alternative text for an image in HTML?",
@@ -55,8 +50,7 @@ export class Lesson5 {
5550
AnswerChoice.C,
5651
);
5752
}
58-
59-
private static makeQuestion2(): QuizQuestion {
53+
static makeQuestion2() {
6054
return new MultipleChoiceQuizQuestion(
6155
2,
6256
"Which HTML tag is used to create a hyperlink?",
@@ -69,8 +63,7 @@ export class Lesson5 {
6963
AnswerChoice.B,
7064
);
7165
}
72-
73-
private static makeQuestion3(): QuizQuestion {
66+
static makeQuestion3() {
7467
return new MultipleChoiceQuizQuestion(
7568
3,
7669
"Which of the following is a semantic HTML tag?",
@@ -83,8 +76,7 @@ export class Lesson5 {
8376
AnswerChoice.B,
8477
);
8578
}
86-
87-
private static makeQuestion4(): QuizQuestion {
79+
static makeQuestion4() {
8880
return new MultipleChoiceQuizQuestion(
8981
4,
9082
"What does CSS stand for?",
@@ -97,8 +89,7 @@ export class Lesson5 {
9789
AnswerChoice.B,
9890
);
9991
}
100-
101-
private static makeQuestion5(): QuizQuestion {
92+
static makeQuestion5() {
10293
return new MultipleChoiceQuizQuestion(
10394
5,
10495
"Which CSS property is used to change the text color?",
@@ -111,8 +102,7 @@ export class Lesson5 {
111102
AnswerChoice.B,
112103
);
113104
}
114-
115-
private static makeQuestion6(): QuizQuestion {
105+
static makeQuestion6() {
116106
return new MultipleChoiceQuizQuestion(
117107
6,
118108
"How do you add a comment in CSS?",
@@ -125,8 +115,7 @@ export class Lesson5 {
125115
AnswerChoice.C,
126116
);
127117
}
128-
129-
private static makeQuestion7(): QuizQuestion {
118+
static makeQuestion7() {
130119
return new MultipleChoiceQuizQuestion(
131120
7,
132121
"Which CSS property controls the size of text?",
@@ -139,8 +128,7 @@ export class Lesson5 {
139128
AnswerChoice.B,
140129
);
141130
}
142-
143-
private static makeQuestion8(): QuizQuestion {
131+
static makeQuestion8() {
144132
return new MultipleChoiceQuizQuestion(
145133
8,
146134
"What is the default display value for `<div>` in CSS?",
@@ -153,8 +141,7 @@ export class Lesson5 {
153141
AnswerChoice.B,
154142
);
155143
}
156-
157-
private static makeQuestion9(): QuizQuestion {
144+
static makeQuestion9() {
158145
return new MultipleChoiceQuizQuestion(
159146
9,
160147
"How do you link an external CSS file to an HTML document?",
@@ -168,7 +155,7 @@ export class Lesson5 {
168155
);
169156
}
170157
}
171-
172158
if (!process.env.JEST_WORKER_ID) {
173159
new Lesson5().run();
174160
}
161+
//# sourceMappingURL=lesson5.js.map

0 commit comments

Comments
 (0)