From 8cc92d0bd494f33e734436fd3cc8018833c8b792 Mon Sep 17 00:00:00 2001 From: AmiyahJo <86239804+AmiyahJo@users.noreply.github.com> Date: Tue, 24 Sep 2024 15:05:50 -0400 Subject: [PATCH 01/15] Create README.md Accidentally removed my work the 1st time by merging --- lesson_00/amiyahjones/README.md | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 lesson_00/amiyahjones/README.md diff --git a/lesson_00/amiyahjones/README.md b/lesson_00/amiyahjones/README.md new file mode 100644 index 000000000..14fc62d70 --- /dev/null +++ b/lesson_00/amiyahjones/README.md @@ -0,0 +1,43 @@ +# Mya.README + ```Javascript +const Mya = class SoftwareEngineer { + intern(code, tools) { + self.code = Javascript, HTML, CSS, Java; + self.tools = React, Docker; + } +}; + +// Intrested in bringing ideas to life within a web browser. +// Learning how websites become quick, responsive, and accesssible to everyone. +``` + + + +### ☴ My work hours +9AM-5PM I'm an early bird and often begin the day with a head start of my work. Feel free to reach me by email during this time, and I'll get back to you as soon as I'm able! + +### What's the best way to communicate with me? .☘︎ ݁˖ +Private message through google chat works perfectly. Email works too as a follow up or if I happened to miss one of your messages. +> [!TIP] +> _In case I don't respond:_ Ping me again on google chat or send me another email! + +### I'd be happy to help you with ꒰ ﹍ ꒱ +* Code suggestions +* Explain or understand a code snippet +* Photos + design ideas + +## Extra ⓘ +* ✦ procreate artist ↓
+ - I like to combine my art and code together! + - In case you find me with my ipad, that's why +* visual learner
+* Jr Developer HS Intern for 4 years with Code Differently (youth program) +* No, I don't drink coffee. ~~Hot chocolate is my go to~~ + +> I'm the type of person that if you ask me a question and I don't know the answer, I'm gonna tell you that I don't know. But I bet you what, I know how to find the answer and I will find the answer.
- Will smith + + +###### // readme inspired by [Kaeti's repo][kaeti-repo] , code snippet inspired by [Thai Brega] + +[kaeti-repo]: https://github.com/kaeti/personal-readme +[Thai brega]: https://github.com/Thaiane/Thaiane From 50b18619d9de9203384f678c1e0eee84a70510a0 Mon Sep 17 00:00:00 2001 From: AmiyahJo <86239804+AmiyahJo@users.noreply.github.com> Date: Tue, 24 Sep 2024 15:07:22 -0400 Subject: [PATCH 02/15] Delete lesson_00/amiyahjones/README.md --- lesson_00/amiyahjones/README.md | 43 --------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 lesson_00/amiyahjones/README.md diff --git a/lesson_00/amiyahjones/README.md b/lesson_00/amiyahjones/README.md deleted file mode 100644 index 14fc62d70..000000000 --- a/lesson_00/amiyahjones/README.md +++ /dev/null @@ -1,43 +0,0 @@ -# Mya.README - ```Javascript -const Mya = class SoftwareEngineer { - intern(code, tools) { - self.code = Javascript, HTML, CSS, Java; - self.tools = React, Docker; - } -}; - -// Intrested in bringing ideas to life within a web browser. -// Learning how websites become quick, responsive, and accesssible to everyone. -``` - - - -### ☴ My work hours -9AM-5PM I'm an early bird and often begin the day with a head start of my work. Feel free to reach me by email during this time, and I'll get back to you as soon as I'm able! - -### What's the best way to communicate with me? .☘︎ ݁˖ -Private message through google chat works perfectly. Email works too as a follow up or if I happened to miss one of your messages. -> [!TIP] -> _In case I don't respond:_ Ping me again on google chat or send me another email! - -### I'd be happy to help you with ꒰ ﹍ ꒱ -* Code suggestions -* Explain or understand a code snippet -* Photos + design ideas - -## Extra ⓘ -* ✦ procreate artist ↓
- - I like to combine my art and code together! - - In case you find me with my ipad, that's why -* visual learner
-* Jr Developer HS Intern for 4 years with Code Differently (youth program) -* No, I don't drink coffee. ~~Hot chocolate is my go to~~ - -> I'm the type of person that if you ask me a question and I don't know the answer, I'm gonna tell you that I don't know. But I bet you what, I know how to find the answer and I will find the answer.
- Will smith - - -###### // readme inspired by [Kaeti's repo][kaeti-repo] , code snippet inspired by [Thai Brega] - -[kaeti-repo]: https://github.com/kaeti/personal-readme -[Thai brega]: https://github.com/Thaiane/Thaiane From 586d8359ce2b6ea1ea21419da7abb9bf47f3727e Mon Sep 17 00:00:00 2001 From: AmiyahJo Date: Tue, 1 Oct 2024 13:30:14 +0000 Subject: [PATCH 03/15] Good as new!! --- .../package-lock.json | 6 ++ lesson_03/quiz/quiz.yaml | 4 ++ .../quiz/src/quizzes/amiyah_jones_quiz.ts | 62 +++++++++++++++++++ lesson_03/quiz/src/quizzes/quizzes.module.ts | 2 + 4 files changed, 74 insertions(+) create mode 100644 lesson_03/lib/typescript/codedifferently-instructional/package-lock.json create mode 100644 lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts diff --git a/lesson_03/lib/typescript/codedifferently-instructional/package-lock.json b/lesson_03/lib/typescript/codedifferently-instructional/package-lock.json new file mode 100644 index 000000000..5dbe3fe98 --- /dev/null +++ b/lesson_03/lib/typescript/codedifferently-instructional/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "codedifferently-instructional", + "lockfileVersion": 3, + "requires": true, + "packages": {} +} diff --git a/lesson_03/quiz/quiz.yaml b/lesson_03/quiz/quiz.yaml index b5827ea59..b227725c7 100644 --- a/lesson_03/quiz/quiz.yaml +++ b/lesson_03/quiz/quiz.yaml @@ -18,3 +18,7 @@ quiz: - $2y$10$XcsVuO66KZiUiN75NtssdOkKvHKhuBo91JgE/TJEnSrrzbhjxuql. - $2y$10$9fZs867NHxoPQ/VWMeLyj.us5Kg3SLPcbt9O5ki/FdJ37TbhgFMFC - $2y$10$GfjcKvtzr6n8553Mdr1RJOOYDfzOudlW.3i8otsH0HiW52CU7tUAW + amiyahjones: + - $2y$10$CF98v/9E7TqgJaCr1td0c.Yaq3L.pXY8FkboPqaONh9Old7Z.v6be + - $2y$10$EoX5arq87SICsb/ooTf89OqDyos70c.7n3qRIJTCTANMMfqDQu4dq + - $2y$10$ei9n.xYU3KfIdBJt7Vd8DeIKOYJGjrYZCHF62s13RrMMRZ1YrBRDK diff --git a/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts b/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts new file mode 100644 index 000000000..c67d08a27 --- /dev/null +++ b/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts @@ -0,0 +1,62 @@ +import { + AnswerChoice, + MultipleChoiceQuizQuestion, + QuizQuestion, + QuizQuestionProvider, +} from 'codedifferently-instructional'; + +export class AmiyahJonesQuiz implements QuizQuestionProvider { + getProviderName(): string { + return 'amiyahjones'; + } + + makeQuizQuestions(): QuizQuestion[] { + return [ + AmiyahJonesQuiz.makeQuestion0(), + AmiyahJonesQuiz.makeQuestion1(), + AmiyahJonesQuiz.makeQuestion2(), + ]; + } + + private static makeQuestion0(): QuizQuestion { + return new MultipleChoiceQuizQuestion( + 0, + 'What two computer parts get mixed up often?', + new Map([ + [AnswerChoice.A, 'Power supply and mother board'], + [AnswerChoice.B, 'Graphics card and ram'], + [AnswerChoice.C, 'Ram and hard drive'], + [AnswerChoice.D, 'None of them get mixed up'], + ]), + AnswerChoice.UNANSWERED, + ); // Replace `UNANSWERED` with the correct answer. + } + + private static makeQuestion1(): QuizQuestion { + return new MultipleChoiceQuizQuestion( + 1, + 'Which computer part figures out how everything is supposed to look on your screen?', + new Map([ + [AnswerChoice.A, 'Graphics card'], + [AnswerChoice.B, 'CPU'], + [AnswerChoice.C, 'Mother board'], + [AnswerChoice.D, 'Ram'], + ]), + AnswerChoice.UNANSWERED, + ); // Replace `UNANSWERED` with the correct answer. + } + + private static makeQuestion2(): QuizQuestion { + return new MultipleChoiceQuizQuestion( + 2, + 'Which computer part houses everything?', + new Map([ + [AnswerChoice.A, 'Hard drive'], + [AnswerChoice.B, 'Case'], + [AnswerChoice.C, 'CPU'], + [AnswerChoice.D, 'Power supply'], + ]), + AnswerChoice.UNANSWERED, + ); // Replace `UNANSWERED` with the correct answer. + } +} diff --git a/lesson_03/quiz/src/quizzes/quizzes.module.ts b/lesson_03/quiz/src/quizzes/quizzes.module.ts index 0d6a58322..4419f7dc3 100644 --- a/lesson_03/quiz/src/quizzes/quizzes.module.ts +++ b/lesson_03/quiz/src/quizzes/quizzes.module.ts @@ -4,6 +4,7 @@ import { OyeyemiJimohQuiz } from './oyeyemi_jimoh_quiz.js'; import { AnthonyMaysQuiz } from './anthony_mays_quiz.js'; import { JosephCaballeroQuiz } from './joseph_caballero_quiz.js'; import { YafiahAbdullahQuiz } from './yafiah_abdullah_quiz.js'; +import { AmiyahJonesQuiz } from './amiyah_jones_quiz.js'; export const Quizzes = Symbol.for('Quizzes'); @@ -15,6 +16,7 @@ const QUIZ_PROVIDERS = [ AnotherQuiz, JosephCaballeroQuiz, OyeyemiJimohQuiz, + AmiyahJonesQuiz ]; @Module({ From 61e296be301f7b5b2a4b37822eba071608b9fbfa Mon Sep 17 00:00:00 2001 From: AmiyahJo <86239804+AmiyahJo@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:35:35 -0400 Subject: [PATCH 04/15] deleted the quiz feature installation in lesson_03 folder. meant to do that in quiz --- .../codedifferently-instructional/package-lock.json | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 lesson_03/lib/typescript/codedifferently-instructional/package-lock.json diff --git a/lesson_03/lib/typescript/codedifferently-instructional/package-lock.json b/lesson_03/lib/typescript/codedifferently-instructional/package-lock.json deleted file mode 100644 index 5dbe3fe98..000000000 --- a/lesson_03/lib/typescript/codedifferently-instructional/package-lock.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "codedifferently-instructional", - "lockfileVersion": 3, - "requires": true, - "packages": {} -} From a69be37608e01db0b090610bbf18f93f213018fd Mon Sep 17 00:00:00 2001 From: AmiyahJo Date: Tue, 1 Oct 2024 13:42:55 +0000 Subject: [PATCH 05/15] test runs on fixing my issue --- lesson_03/quiz/quiz.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lesson_03/quiz/quiz.yaml b/lesson_03/quiz/quiz.yaml index b227725c7..7ac71f311 100644 --- a/lesson_03/quiz/quiz.yaml +++ b/lesson_03/quiz/quiz.yaml @@ -18,7 +18,7 @@ quiz: - $2y$10$XcsVuO66KZiUiN75NtssdOkKvHKhuBo91JgE/TJEnSrrzbhjxuql. - $2y$10$9fZs867NHxoPQ/VWMeLyj.us5Kg3SLPcbt9O5ki/FdJ37TbhgFMFC - $2y$10$GfjcKvtzr6n8553Mdr1RJOOYDfzOudlW.3i8otsH0HiW52CU7tUAW - amiyahjones: + amiyahjones: - $2y$10$CF98v/9E7TqgJaCr1td0c.Yaq3L.pXY8FkboPqaONh9Old7Z.v6be - $2y$10$EoX5arq87SICsb/ooTf89OqDyos70c.7n3qRIJTCTANMMfqDQu4dq - $2y$10$ei9n.xYU3KfIdBJt7Vd8DeIKOYJGjrYZCHF62s13RrMMRZ1YrBRDK From 82e5a1d2893adce93a887a7ea3e128976ed80f2e Mon Sep 17 00:00:00 2001 From: AmiyahJo Date: Tue, 1 Oct 2024 13:55:03 +0000 Subject: [PATCH 06/15] resubmitted encrypted answers --- lesson_03/quiz/quiz.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lesson_03/quiz/quiz.yaml b/lesson_03/quiz/quiz.yaml index 7ac71f311..5337b3054 100644 --- a/lesson_03/quiz/quiz.yaml +++ b/lesson_03/quiz/quiz.yaml @@ -19,6 +19,6 @@ quiz: - $2y$10$9fZs867NHxoPQ/VWMeLyj.us5Kg3SLPcbt9O5ki/FdJ37TbhgFMFC - $2y$10$GfjcKvtzr6n8553Mdr1RJOOYDfzOudlW.3i8otsH0HiW52CU7tUAW amiyahjones: - - $2y$10$CF98v/9E7TqgJaCr1td0c.Yaq3L.pXY8FkboPqaONh9Old7Z.v6be - - $2y$10$EoX5arq87SICsb/ooTf89OqDyos70c.7n3qRIJTCTANMMfqDQu4dq - - $2y$10$ei9n.xYU3KfIdBJt7Vd8DeIKOYJGjrYZCHF62s13RrMMRZ1YrBRDK + - $2y$10$fBtFjky25HrdWc2T7JJxqOuTA0/MNenmJ05pJve4S0RXhHmazMLb6 + - $$2y$10$RAemD7Vmxx1U0KMcCNRZ9.S4CceTwTRdXR1NoQgUdJbOhxgZzept2 + - $2y$10$Xjwmq.U9Kso6xLfv0Yzudu6o/yUStvpP6ZCSTFsRzlX4XrCmtUNdG From d2c74de01d212675a5d254a09eb3202aadfc1422 Mon Sep 17 00:00:00 2001 From: AmiyahJo Date: Tue, 1 Oct 2024 14:23:42 +0000 Subject: [PATCH 07/15] tests run works!!! I'm free --- lesson_03/quiz/quiz.yaml | 6 +++--- lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lesson_03/quiz/quiz.yaml b/lesson_03/quiz/quiz.yaml index 5337b3054..d678e3139 100644 --- a/lesson_03/quiz/quiz.yaml +++ b/lesson_03/quiz/quiz.yaml @@ -19,6 +19,6 @@ quiz: - $2y$10$9fZs867NHxoPQ/VWMeLyj.us5Kg3SLPcbt9O5ki/FdJ37TbhgFMFC - $2y$10$GfjcKvtzr6n8553Mdr1RJOOYDfzOudlW.3i8otsH0HiW52CU7tUAW amiyahjones: - - $2y$10$fBtFjky25HrdWc2T7JJxqOuTA0/MNenmJ05pJve4S0RXhHmazMLb6 - - $$2y$10$RAemD7Vmxx1U0KMcCNRZ9.S4CceTwTRdXR1NoQgUdJbOhxgZzept2 - - $2y$10$Xjwmq.U9Kso6xLfv0Yzudu6o/yUStvpP6ZCSTFsRzlX4XrCmtUNdG + - $2y$10$QsN9VkjWORsKgZRiBT46VOUgc5HVnswKAT4uDbs7JYbTF7DdKbsw. + - $2y$10$sqXEOL0L8o0kRyiAb.2s4u0RlBC2.LmOGDbGWXHj5IfBNwinkv2yq + - $2y$10$HaWueXgrIzd7z8yf39HfVeTjjyr.Kgx0GFBqwCRSzW3zRSreN19yi diff --git a/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts b/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts index c67d08a27..46831a3ec 100644 --- a/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts +++ b/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts @@ -28,7 +28,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider { [AnswerChoice.C, 'Ram and hard drive'], [AnswerChoice.D, 'None of them get mixed up'], ]), - AnswerChoice.UNANSWERED, + AnswerChoice.C, ); // Replace `UNANSWERED` with the correct answer. } @@ -42,7 +42,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider { [AnswerChoice.C, 'Mother board'], [AnswerChoice.D, 'Ram'], ]), - AnswerChoice.UNANSWERED, + AnswerChoice.A, ); // Replace `UNANSWERED` with the correct answer. } @@ -56,7 +56,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider { [AnswerChoice.C, 'CPU'], [AnswerChoice.D, 'Power supply'], ]), - AnswerChoice.UNANSWERED, + AnswerChoice.B, ); // Replace `UNANSWERED` with the correct answer. } } From f62af079f266513ff10454814d331c9c287e8024 Mon Sep 17 00:00:00 2001 From: AmiyahJo Date: Tue, 1 Oct 2024 14:25:30 +0000 Subject: [PATCH 08/15] Forgot to put unanswered from my last commit --- lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts b/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts index 46831a3ec..c67d08a27 100644 --- a/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts +++ b/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts @@ -28,7 +28,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider { [AnswerChoice.C, 'Ram and hard drive'], [AnswerChoice.D, 'None of them get mixed up'], ]), - AnswerChoice.C, + AnswerChoice.UNANSWERED, ); // Replace `UNANSWERED` with the correct answer. } @@ -42,7 +42,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider { [AnswerChoice.C, 'Mother board'], [AnswerChoice.D, 'Ram'], ]), - AnswerChoice.A, + AnswerChoice.UNANSWERED, ); // Replace `UNANSWERED` with the correct answer. } @@ -56,7 +56,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider { [AnswerChoice.C, 'CPU'], [AnswerChoice.D, 'Power supply'], ]), - AnswerChoice.B, + AnswerChoice.UNANSWERED, ); // Replace `UNANSWERED` with the correct answer. } } From c0652be18f5976c101468161beb056e035abe2d5 Mon Sep 17 00:00:00 2001 From: AmiyahJo Date: Tue, 1 Oct 2024 13:30:14 +0000 Subject: [PATCH 09/15] Good as new!! --- .../package-lock.json | 6 ++ lesson_03/quiz/quiz.yaml | 4 ++ .../quiz/src/quizzes/amiyah_jones_quiz.ts | 62 +++++++++++++++++++ lesson_03/quiz/src/quizzes/quizzes.module.ts | 4 +- 4 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 lesson_03/lib/typescript/codedifferently-instructional/package-lock.json create mode 100644 lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts diff --git a/lesson_03/lib/typescript/codedifferently-instructional/package-lock.json b/lesson_03/lib/typescript/codedifferently-instructional/package-lock.json new file mode 100644 index 000000000..5dbe3fe98 --- /dev/null +++ b/lesson_03/lib/typescript/codedifferently-instructional/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "codedifferently-instructional", + "lockfileVersion": 3, + "requires": true, + "packages": {} +} diff --git a/lesson_03/quiz/quiz.yaml b/lesson_03/quiz/quiz.yaml index e498ca944..81e1f5380 100644 --- a/lesson_03/quiz/quiz.yaml +++ b/lesson_03/quiz/quiz.yaml @@ -22,3 +22,7 @@ quiz: - $2y$10$XcsVuO66KZiUiN75NtssdOkKvHKhuBo91JgE/TJEnSrrzbhjxuql. - $2y$10$9fZs867NHxoPQ/VWMeLyj.us5Kg3SLPcbt9O5ki/FdJ37TbhgFMFC - $2y$10$GfjcKvtzr6n8553Mdr1RJOOYDfzOudlW.3i8otsH0HiW52CU7tUAW + amiyahjones: + - $2y$10$CF98v/9E7TqgJaCr1td0c.Yaq3L.pXY8FkboPqaONh9Old7Z.v6be + - $2y$10$EoX5arq87SICsb/ooTf89OqDyos70c.7n3qRIJTCTANMMfqDQu4dq + - $2y$10$ei9n.xYU3KfIdBJt7Vd8DeIKOYJGjrYZCHF62s13RrMMRZ1YrBRDK diff --git a/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts b/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts new file mode 100644 index 000000000..c67d08a27 --- /dev/null +++ b/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts @@ -0,0 +1,62 @@ +import { + AnswerChoice, + MultipleChoiceQuizQuestion, + QuizQuestion, + QuizQuestionProvider, +} from 'codedifferently-instructional'; + +export class AmiyahJonesQuiz implements QuizQuestionProvider { + getProviderName(): string { + return 'amiyahjones'; + } + + makeQuizQuestions(): QuizQuestion[] { + return [ + AmiyahJonesQuiz.makeQuestion0(), + AmiyahJonesQuiz.makeQuestion1(), + AmiyahJonesQuiz.makeQuestion2(), + ]; + } + + private static makeQuestion0(): QuizQuestion { + return new MultipleChoiceQuizQuestion( + 0, + 'What two computer parts get mixed up often?', + new Map([ + [AnswerChoice.A, 'Power supply and mother board'], + [AnswerChoice.B, 'Graphics card and ram'], + [AnswerChoice.C, 'Ram and hard drive'], + [AnswerChoice.D, 'None of them get mixed up'], + ]), + AnswerChoice.UNANSWERED, + ); // Replace `UNANSWERED` with the correct answer. + } + + private static makeQuestion1(): QuizQuestion { + return new MultipleChoiceQuizQuestion( + 1, + 'Which computer part figures out how everything is supposed to look on your screen?', + new Map([ + [AnswerChoice.A, 'Graphics card'], + [AnswerChoice.B, 'CPU'], + [AnswerChoice.C, 'Mother board'], + [AnswerChoice.D, 'Ram'], + ]), + AnswerChoice.UNANSWERED, + ); // Replace `UNANSWERED` with the correct answer. + } + + private static makeQuestion2(): QuizQuestion { + return new MultipleChoiceQuizQuestion( + 2, + 'Which computer part houses everything?', + new Map([ + [AnswerChoice.A, 'Hard drive'], + [AnswerChoice.B, 'Case'], + [AnswerChoice.C, 'CPU'], + [AnswerChoice.D, 'Power supply'], + ]), + AnswerChoice.UNANSWERED, + ); // Replace `UNANSWERED` with the correct answer. + } +} diff --git a/lesson_03/quiz/src/quizzes/quizzes.module.ts b/lesson_03/quiz/src/quizzes/quizzes.module.ts index dcfe6a95e..92d0071c5 100644 --- a/lesson_03/quiz/src/quizzes/quizzes.module.ts +++ b/lesson_03/quiz/src/quizzes/quizzes.module.ts @@ -5,6 +5,7 @@ import { AnthonyMaysQuiz } from './anthony_mays_quiz.js'; import { ChigazoGrahamsQuiz } from './chigazo_graham_quiz.js'; import { JosephCaballeroQuiz } from './joseph_caballero_quiz.js'; import { YafiahAbdullahQuiz } from './yafiah_abdullah_quiz.js'; +import { AmiyahJonesQuiz } from './amiyah_jones_quiz.js'; export const Quizzes = Symbol.for('Quizzes'); @@ -16,7 +17,8 @@ const QUIZ_PROVIDERS = [ AnotherQuiz, JosephCaballeroQuiz, OyeyemiJimohQuiz, - ChigazoGrahamsQuiz]; + ChigazoGrahamsQuiz AmiyahJonesQuiz +]; @Module({ providers: [ From 116c485d096ac2d72f944ec58c01ca0d52e84adc Mon Sep 17 00:00:00 2001 From: AmiyahJo <86239804+AmiyahJo@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:35:35 -0400 Subject: [PATCH 10/15] deleted the quiz feature installation in lesson_03 folder. meant to do that in quiz --- .../codedifferently-instructional/package-lock.json | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 lesson_03/lib/typescript/codedifferently-instructional/package-lock.json diff --git a/lesson_03/lib/typescript/codedifferently-instructional/package-lock.json b/lesson_03/lib/typescript/codedifferently-instructional/package-lock.json deleted file mode 100644 index 5dbe3fe98..000000000 --- a/lesson_03/lib/typescript/codedifferently-instructional/package-lock.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "codedifferently-instructional", - "lockfileVersion": 3, - "requires": true, - "packages": {} -} From 688353726fa7adcf0f97ec4f621f2b51c28070ee Mon Sep 17 00:00:00 2001 From: AmiyahJo Date: Tue, 1 Oct 2024 13:42:55 +0000 Subject: [PATCH 11/15] test runs on fixing my issue --- lesson_03/quiz/quiz.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lesson_03/quiz/quiz.yaml b/lesson_03/quiz/quiz.yaml index 81e1f5380..c6295e188 100644 --- a/lesson_03/quiz/quiz.yaml +++ b/lesson_03/quiz/quiz.yaml @@ -22,7 +22,7 @@ quiz: - $2y$10$XcsVuO66KZiUiN75NtssdOkKvHKhuBo91JgE/TJEnSrrzbhjxuql. - $2y$10$9fZs867NHxoPQ/VWMeLyj.us5Kg3SLPcbt9O5ki/FdJ37TbhgFMFC - $2y$10$GfjcKvtzr6n8553Mdr1RJOOYDfzOudlW.3i8otsH0HiW52CU7tUAW - amiyahjones: + amiyahjones: - $2y$10$CF98v/9E7TqgJaCr1td0c.Yaq3L.pXY8FkboPqaONh9Old7Z.v6be - $2y$10$EoX5arq87SICsb/ooTf89OqDyos70c.7n3qRIJTCTANMMfqDQu4dq - $2y$10$ei9n.xYU3KfIdBJt7Vd8DeIKOYJGjrYZCHF62s13RrMMRZ1YrBRDK From 6ade5877dfbb42251674800be80ea4ef94335306 Mon Sep 17 00:00:00 2001 From: AmiyahJo Date: Tue, 1 Oct 2024 13:55:03 +0000 Subject: [PATCH 12/15] resubmitted encrypted answers --- lesson_03/quiz/quiz.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lesson_03/quiz/quiz.yaml b/lesson_03/quiz/quiz.yaml index c6295e188..5d21eabce 100644 --- a/lesson_03/quiz/quiz.yaml +++ b/lesson_03/quiz/quiz.yaml @@ -23,6 +23,6 @@ quiz: - $2y$10$9fZs867NHxoPQ/VWMeLyj.us5Kg3SLPcbt9O5ki/FdJ37TbhgFMFC - $2y$10$GfjcKvtzr6n8553Mdr1RJOOYDfzOudlW.3i8otsH0HiW52CU7tUAW amiyahjones: - - $2y$10$CF98v/9E7TqgJaCr1td0c.Yaq3L.pXY8FkboPqaONh9Old7Z.v6be - - $2y$10$EoX5arq87SICsb/ooTf89OqDyos70c.7n3qRIJTCTANMMfqDQu4dq - - $2y$10$ei9n.xYU3KfIdBJt7Vd8DeIKOYJGjrYZCHF62s13RrMMRZ1YrBRDK + - $2y$10$fBtFjky25HrdWc2T7JJxqOuTA0/MNenmJ05pJve4S0RXhHmazMLb6 + - $$2y$10$RAemD7Vmxx1U0KMcCNRZ9.S4CceTwTRdXR1NoQgUdJbOhxgZzept2 + - $2y$10$Xjwmq.U9Kso6xLfv0Yzudu6o/yUStvpP6ZCSTFsRzlX4XrCmtUNdG From e3a4079470ad486ac3a6388154e33bf5db8ce433 Mon Sep 17 00:00:00 2001 From: AmiyahJo Date: Tue, 1 Oct 2024 14:23:42 +0000 Subject: [PATCH 13/15] tests run works!!! I'm free --- lesson_03/quiz/quiz.yaml | 6 +++--- lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lesson_03/quiz/quiz.yaml b/lesson_03/quiz/quiz.yaml index 5d21eabce..a3bcaeced 100644 --- a/lesson_03/quiz/quiz.yaml +++ b/lesson_03/quiz/quiz.yaml @@ -23,6 +23,6 @@ quiz: - $2y$10$9fZs867NHxoPQ/VWMeLyj.us5Kg3SLPcbt9O5ki/FdJ37TbhgFMFC - $2y$10$GfjcKvtzr6n8553Mdr1RJOOYDfzOudlW.3i8otsH0HiW52CU7tUAW amiyahjones: - - $2y$10$fBtFjky25HrdWc2T7JJxqOuTA0/MNenmJ05pJve4S0RXhHmazMLb6 - - $$2y$10$RAemD7Vmxx1U0KMcCNRZ9.S4CceTwTRdXR1NoQgUdJbOhxgZzept2 - - $2y$10$Xjwmq.U9Kso6xLfv0Yzudu6o/yUStvpP6ZCSTFsRzlX4XrCmtUNdG + - $2y$10$QsN9VkjWORsKgZRiBT46VOUgc5HVnswKAT4uDbs7JYbTF7DdKbsw. + - $2y$10$sqXEOL0L8o0kRyiAb.2s4u0RlBC2.LmOGDbGWXHj5IfBNwinkv2yq + - $2y$10$HaWueXgrIzd7z8yf39HfVeTjjyr.Kgx0GFBqwCRSzW3zRSreN19yi diff --git a/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts b/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts index c67d08a27..46831a3ec 100644 --- a/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts +++ b/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts @@ -28,7 +28,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider { [AnswerChoice.C, 'Ram and hard drive'], [AnswerChoice.D, 'None of them get mixed up'], ]), - AnswerChoice.UNANSWERED, + AnswerChoice.C, ); // Replace `UNANSWERED` with the correct answer. } @@ -42,7 +42,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider { [AnswerChoice.C, 'Mother board'], [AnswerChoice.D, 'Ram'], ]), - AnswerChoice.UNANSWERED, + AnswerChoice.A, ); // Replace `UNANSWERED` with the correct answer. } @@ -56,7 +56,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider { [AnswerChoice.C, 'CPU'], [AnswerChoice.D, 'Power supply'], ]), - AnswerChoice.UNANSWERED, + AnswerChoice.B, ); // Replace `UNANSWERED` with the correct answer. } } From 51a4442a8e547038f7cb3b674b587fc408cddc9e Mon Sep 17 00:00:00 2001 From: AmiyahJo Date: Tue, 1 Oct 2024 14:25:30 +0000 Subject: [PATCH 14/15] Forgot to put unanswered from my last commit --- lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts b/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts index 46831a3ec..c67d08a27 100644 --- a/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts +++ b/lesson_03/quiz/src/quizzes/amiyah_jones_quiz.ts @@ -28,7 +28,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider { [AnswerChoice.C, 'Ram and hard drive'], [AnswerChoice.D, 'None of them get mixed up'], ]), - AnswerChoice.C, + AnswerChoice.UNANSWERED, ); // Replace `UNANSWERED` with the correct answer. } @@ -42,7 +42,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider { [AnswerChoice.C, 'Mother board'], [AnswerChoice.D, 'Ram'], ]), - AnswerChoice.A, + AnswerChoice.UNANSWERED, ); // Replace `UNANSWERED` with the correct answer. } @@ -56,7 +56,7 @@ export class AmiyahJonesQuiz implements QuizQuestionProvider { [AnswerChoice.C, 'CPU'], [AnswerChoice.D, 'Power supply'], ]), - AnswerChoice.B, + AnswerChoice.UNANSWERED, ); // Replace `UNANSWERED` with the correct answer. } } From 67710a0a4cb845872cbe975ed7b68a85ca8cef67 Mon Sep 17 00:00:00 2001 From: AmiyahJo Date: Tue, 1 Oct 2024 15:07:03 +0000 Subject: [PATCH 15/15] fixed merge conflict --- lesson_03/quiz/src/quizzes/quizzes.module.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/lesson_03/quiz/src/quizzes/quizzes.module.ts b/lesson_03/quiz/src/quizzes/quizzes.module.ts index 239141157..11fcf6257 100644 --- a/lesson_03/quiz/src/quizzes/quizzes.module.ts +++ b/lesson_03/quiz/src/quizzes/quizzes.module.ts @@ -6,7 +6,6 @@ import { ChigazoGrahamsQuiz } from './chigazo_graham_quiz.js'; import { JosephCaballeroQuiz } from './joseph_caballero_quiz.js'; import { YafiahAbdullahQuiz } from './yafiah_abdullah_quiz.js'; import { AmiyahJonesQuiz } from './amiyah_jones_quiz.js'; -import { AmiyahJonesQuiz } from './amiyah_jones_quiz.js'; export const Quizzes = Symbol.for('Quizzes');