From 74bc872393db96d72e6c75388c6510ac7f3e4631 Mon Sep 17 00:00:00 2001 From: Cogbonnia <244cogbonnia@gmail.com> Date: Tue, 24 Sep 2024 13:14:12 -0400 Subject: [PATCH 1/9] Create chelseaogbonnia's readme --- lesson_00/chelseaogbonnia | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lesson_00/chelseaogbonnia diff --git a/lesson_00/chelseaogbonnia b/lesson_00/chelseaogbonnia new file mode 100644 index 000000000..645cf9039 --- /dev/null +++ b/lesson_00/chelseaogbonnia @@ -0,0 +1,23 @@ +# Personal README + +## Introduction +Hi there! I’m currently on my journey to becoming a full-stack software engineer. I enjoy solving problems and learning new technologies as I go. This README gives you a little insight into how I work best, what motivates me, and how I approach learning and collaboration. + +## How I Learn Best +- Independent Learning: I prefer figuring things out on my own, and I enjoy working through challenges independently before reaching out for help. This allows me to build resilience and a deeper understanding of the material. +- Visual Learning: I grasp concepts more quickly when I can visualize them. Charts, diagrams, and presentations help me organize information in a way that sticks. I find that seeing a process step-by-step or looking at a flowchart helps solidify abstract concepts. +- Planning Ahead: I like having access to the curriculum early so I can break down topics and structure my learning schedule. When I can map out what’s ahead, I feel more in control and can manage my time better. +- Mastering Subjects: I work on a subject until I feel confident enough to explain it to someone else. Teaching is one of the ways I confirm my own understanding. If I can make something simple enough for others to understand, I know I’ve truly mastered it. +- Note-Taking: I’m not the type to take long-winded notes. Instead, my notes are an organized summary of my thoughts. They serve as a reference point for later, but I tend to work through most concepts in my head first before writing anything down. + +## What I Value in Collaboration +- Clear Communication: I appreciate clear, concise communication, especially in code reviews or when getting feedback. I respond well to messages that are to the point, with direct and actionable suggestions. +- Respect for Work Styles: I understand that everyone has their own preferred way of working, and I appreciate when team environments respect those differences. For me, that means giving me space to work independently but also being available for collaboration when needed. +- Knowledge Sharing: I believe that a team works best when everyone shares what they’ve learned. I enjoy exchanging tips, resources, or strategies that can help others grow. When the team is open to learning from each other, everyone benefits. + +## Fun Fact +I often like to challenge myself with side projects. Whether it's exploring a new API or building a small application for fun, these projects give me a chance to experiment with new technologies and sharpen my skills. + +![image](https://github.com/user-attachments/assets/75cce26f-8244-4aa9-ac0a-39783d4e4473) + + From c076b6613039096196a9878524759696ca93a487 Mon Sep 17 00:00:00 2001 From: Cogbonnia <244cogbonnia@gmail.com> Date: Thu, 26 Sep 2024 10:04:39 -0400 Subject: [PATCH 2/9] Update and rename lesson_00/chelseaogbonnia to lesson_00/chelsea_ogbonnia/ReadME.md --- lesson_00/{chelseaogbonnia => chelsea_ogbonnia/ReadME.md} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename lesson_00/{chelseaogbonnia => chelsea_ogbonnia/ReadME.md} (96%) diff --git a/lesson_00/chelseaogbonnia b/lesson_00/chelsea_ogbonnia/ReadME.md similarity index 96% rename from lesson_00/chelseaogbonnia rename to lesson_00/chelsea_ogbonnia/ReadME.md index 645cf9039..849373258 100644 --- a/lesson_00/chelseaogbonnia +++ b/lesson_00/chelsea_ogbonnia/ReadME.md @@ -18,6 +18,6 @@ Hi there! I’m currently on my journey to becoming a full-stack software engine ## Fun Fact I often like to challenge myself with side projects. Whether it's exploring a new API or building a small application for fun, these projects give me a chance to experiment with new technologies and sharpen my skills. -![image](https://github.com/user-attachments/assets/75cce26f-8244-4aa9-ac0a-39783d4e4473) +![Example of Python API](https://github.com/user-attachments/assets/75cce26f-8244-4aa9-ac0a-39783d4e4473) From 7fa2914e627fb7ed13e5a7043a8cca048b0c6733 Mon Sep 17 00:00:00 2001 From: Cogbonnia <244cogbonnia@gmail.com> Date: Thu, 26 Sep 2024 10:10:49 -0400 Subject: [PATCH 3/9] Rename ReadME.md to README.md --- lesson_00/chelsea_ogbonnia/{ReadME.md => README.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename lesson_00/chelsea_ogbonnia/{ReadME.md => README.md} (100%) diff --git a/lesson_00/chelsea_ogbonnia/ReadME.md b/lesson_00/chelsea_ogbonnia/README.md similarity index 100% rename from lesson_00/chelsea_ogbonnia/ReadME.md rename to lesson_00/chelsea_ogbonnia/README.md From fb73c3d55762a287d4d6c8b045ac20f6f35b2645 Mon Sep 17 00:00:00 2001 From: Cogbonnia <244cogbonnia@gmail.com> Date: Mon, 30 Sep 2024 08:58:39 -0400 Subject: [PATCH 4/9] Create style.css The CSS file to make my HTML look like a Github markdown. --- lesson_01/chelseaogbonnia/style.css | 120 ++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 lesson_01/chelseaogbonnia/style.css diff --git a/lesson_01/chelseaogbonnia/style.css b/lesson_01/chelseaogbonnia/style.css new file mode 100644 index 000000000..be8166a6e --- /dev/null +++ b/lesson_01/chelseaogbonnia/style.css @@ -0,0 +1,120 @@ +body { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; + font-size: 16px; + line-height: 1.5; + color: #24292e; + background-color: #fff; + padding: 20px; + font-size: 100%; + } + + h1, h2, h3, h4, h5, h6 { + font-weight: 600; + margin: 1em 0; + border-bottom: 1px solid #eaecef; + } + + h1 { + font-size: 2em; + padding-bottom: 0.3em; + } + + p { + margin-bottom: 16px; + } + + strong { + font-weight: 600; + } + + em { + font-style: italic; + } + + code { + font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; + background-color: #f6f8fa; + padding: 0.2em 0.4em; + border-radius: 6px; + } + + pre { + background-color: #f6f8fa; + padding: 16px; + border-radius: 6px; + overflow: auto; + font-size: 85%; + line-height: 1.45; + } + + ul, ol { + padding-left: 2em; + margin-bottom: 16px; + } + + li { + margin-bottom: 0.25em; + } + + blockquote { + border-left: 4px solid #dfe2e5; + padding: 0 1em; + color: #6a737d; + margin: 0; + } + + a { + color: #0366d6; + text-decoration: none; + } + + a:hover { + text-decoration: underline; + } + + table { + width: 100%; + border-collapse: collapse; + margin-bottom: 16px; + } + + th, td { + border: 1px solid #dfe2e5; + padding: 6px 13px; + } + + th { + background-color: #f6f8fa; + font-weight: 600; + } + + hr { + border: 0; + border-top: 1px solid #eaecef; + margin: 24px 0; + } + + img { + max-width: 100%; + height: auto; + } + + input[type="checkbox"] { + margin-right: 0.5em; + } + + @media(max-width:480px){ + body { + padding: 10px; + } + h1 { + font-size: 1.5em; + } + p{ + font-size: 0.9em; + } + pre{ + white-space: pre-wrap; + word-wrap: break-word; + } + } From f7fdc122dedc52849ca938770aca62c653a4a7f8 Mon Sep 17 00:00:00 2001 From: Cogbonnia <244cogbonnia@gmail.com> Date: Mon, 30 Sep 2024 09:01:08 -0400 Subject: [PATCH 5/9] Created index.html This is the markdown-to-html file with semantic html practice. --- lesson_01/chelseaogbonnia/index.html | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 lesson_01/chelseaogbonnia/index.html diff --git a/lesson_01/chelseaogbonnia/index.html b/lesson_01/chelseaogbonnia/index.html new file mode 100644 index 000000000..f711dd9f6 --- /dev/null +++ b/lesson_01/chelseaogbonnia/index.html @@ -0,0 +1,47 @@ + + + + + + + Read Me HTML + + +
+

Personal README

+
+

Introduction

+
+
+

Hi there! I’m currently on my journey to becoming a full-stack software engineer. I enjoy solving problems and learning new technologies as I go. This README gives you a little insight into how I work best, what motivates me, and how I approach learning and collaboration.

+
+
+
+
+

How I Learn Best

+
+
    +
  • Independent Learning: I prefer figuring things out on my own, and I enjoy working through challenges independently before reaching out for help. This allows me to build resilience and a deeper understanding of the material.
  • +
  • Visual Learning: I grasp concepts more quickly when I can visualize them. Charts, diagrams, and presentations help me organize information in a way that sticks. I find that seeing a process step-by-step or looking at a flowchart helps solidify abstract concepts.
  • +
  • Planning Ahead: I like having access to the curriculum early so I can break down topics and structure my learning schedule. When I can map out what’s ahead, I feel more in control and can manage my time better.
  • +
  • Mastering Subjects: I work on a subject until I feel confident enough to explain it to someone else. Teaching is one of the ways I confirm my own understanding. If I can make something simple enough for others to understand, I know I’ve truly mastered it.
  • +
  • Note-Taking: I’m not the type to take long-winded notes. Instead, my notes are an organized summary of my thoughts. They serve as a reference point for later, but I tend to work through most concepts in my head first before writing anything down.
  • +
+
+
+
+

What I Value in Collaboration

+ +
+
+

Fun Fact

+

I often like to challenge myself with side projects. Whether it's exploring a new API or building a small application for fun, these projects give me a chance to experiment with new technologies and sharpen my skills.

+

Python API Example

+
+
+ + \ No newline at end of file From e85d1e7ed7fdf1960acedf13c5d8c557847028fb Mon Sep 17 00:00:00 2001 From: Cogobonnia <244cogbonnia@gmail.com> Date: Mon, 30 Sep 2024 14:34:25 +0000 Subject: [PATCH 6/9] Commit Message: Testing --- .../package-lock.json | 6 +++++ lesson_02/quiz/src/lesson2.ts | 22 +++++++++---------- 2 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 lesson_02/lib/typescript/codedifferently-instructional/package-lock.json diff --git a/lesson_02/lib/typescript/codedifferently-instructional/package-lock.json b/lesson_02/lib/typescript/codedifferently-instructional/package-lock.json new file mode 100644 index 000000000..5dbe3fe98 --- /dev/null +++ b/lesson_02/lib/typescript/codedifferently-instructional/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "codedifferently-instructional", + "lockfileVersion": 3, + "requires": true, + "packages": {} +} diff --git a/lesson_02/quiz/src/lesson2.ts b/lesson_02/quiz/src/lesson2.ts index aa22c2e25..922bb9663 100644 --- a/lesson_02/quiz/src/lesson2.ts +++ b/lesson_02/quiz/src/lesson2.ts @@ -39,7 +39,7 @@ export class Lesson2 { [AnswerChoice.C, "To delete unnecessary files"], [AnswerChoice.D, "To run code more efficiently"], ]), - AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.B, // Replace `UNANSWERED` with the correct answer. ); } @@ -56,7 +56,7 @@ export class Lesson2 { [AnswerChoice.C, "A tool for merging branches"], [AnswerChoice.D, "A way to delete a repository"], ]), - AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.A, // Replace `UNANSWERED` with the correct answer. ); } @@ -70,7 +70,7 @@ export class Lesson2 { [AnswerChoice.C, "Push changes to the server"], [AnswerChoice.D, "Write code directly in GitHub"], ]), - AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.D, // Replace `UNANSWERED` with the correct answer. ); } @@ -84,7 +84,7 @@ export class Lesson2 { [AnswerChoice.C, "git branch"], [AnswerChoice.D, "git pull"], ]), - AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.B, // Replace `UNANSWERED` with the correct answer. ); } @@ -98,7 +98,7 @@ export class Lesson2 { [AnswerChoice.C, "NetBeans"], [AnswerChoice.D, "VS Code"], ]), - AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.D, // Replace `UNANSWERED` with the correct answer. ); } @@ -112,7 +112,7 @@ export class Lesson2 { [AnswerChoice.C, "Dev Containers"], [AnswerChoice.D, "Source Control"], ]), - AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.C, // Replace `UNANSWERED` with the correct answer. ); } @@ -126,7 +126,7 @@ export class Lesson2 { [AnswerChoice.C, "Playing music"], [AnswerChoice.D, "Managing source control"], ]), - AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.C, // Replace `UNANSWERED` with the correct answer. ); } @@ -140,7 +140,7 @@ export class Lesson2 { [AnswerChoice.C, "cd"], [AnswerChoice.D, "mkdir"], ]), - AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.B, // Replace `UNANSWERED` with the correct answer. ); } @@ -154,7 +154,7 @@ export class Lesson2 { [AnswerChoice.C, "cd"], [AnswerChoice.D, "mkdir"], ]), - AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.C, // Replace `UNANSWERED` with the correct answer. ); } @@ -168,7 +168,7 @@ export class Lesson2 { [AnswerChoice.C, "Remove a file or directory"], [AnswerChoice.D, "Copy a file or directory"], ]), - AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.A, // Replace `UNANSWERED` with the correct answer. ); } @@ -182,7 +182,7 @@ export class Lesson2 { [AnswerChoice.C, "⌘ + Q"], [AnswerChoice.D, '⌘ + S, then type "terminal"'], ]), - AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.B, // Replace `UNANSWERED` with the correct answer. ); } } From dbd1fbf29d09ee1a396f8c8a64e90f0aa20cda23 Mon Sep 17 00:00:00 2001 From: "Anthony D. Mays" Date: Tue, 1 Oct 2024 17:11:23 -0700 Subject: [PATCH 7/9] chore: remove invalid files Signed-off-by: Anthony D. Mays --- lesson_02/quiz/src/lesson2.ts | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lesson_02/quiz/src/lesson2.ts b/lesson_02/quiz/src/lesson2.ts index 922bb9663..aa22c2e25 100644 --- a/lesson_02/quiz/src/lesson2.ts +++ b/lesson_02/quiz/src/lesson2.ts @@ -39,7 +39,7 @@ export class Lesson2 { [AnswerChoice.C, "To delete unnecessary files"], [AnswerChoice.D, "To run code more efficiently"], ]), - AnswerChoice.B, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. ); } @@ -56,7 +56,7 @@ export class Lesson2 { [AnswerChoice.C, "A tool for merging branches"], [AnswerChoice.D, "A way to delete a repository"], ]), - AnswerChoice.A, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. ); } @@ -70,7 +70,7 @@ export class Lesson2 { [AnswerChoice.C, "Push changes to the server"], [AnswerChoice.D, "Write code directly in GitHub"], ]), - AnswerChoice.D, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. ); } @@ -84,7 +84,7 @@ export class Lesson2 { [AnswerChoice.C, "git branch"], [AnswerChoice.D, "git pull"], ]), - AnswerChoice.B, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. ); } @@ -98,7 +98,7 @@ export class Lesson2 { [AnswerChoice.C, "NetBeans"], [AnswerChoice.D, "VS Code"], ]), - AnswerChoice.D, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. ); } @@ -112,7 +112,7 @@ export class Lesson2 { [AnswerChoice.C, "Dev Containers"], [AnswerChoice.D, "Source Control"], ]), - AnswerChoice.C, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. ); } @@ -126,7 +126,7 @@ export class Lesson2 { [AnswerChoice.C, "Playing music"], [AnswerChoice.D, "Managing source control"], ]), - AnswerChoice.C, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. ); } @@ -140,7 +140,7 @@ export class Lesson2 { [AnswerChoice.C, "cd"], [AnswerChoice.D, "mkdir"], ]), - AnswerChoice.B, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. ); } @@ -154,7 +154,7 @@ export class Lesson2 { [AnswerChoice.C, "cd"], [AnswerChoice.D, "mkdir"], ]), - AnswerChoice.C, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. ); } @@ -168,7 +168,7 @@ export class Lesson2 { [AnswerChoice.C, "Remove a file or directory"], [AnswerChoice.D, "Copy a file or directory"], ]), - AnswerChoice.A, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. ); } @@ -182,7 +182,7 @@ export class Lesson2 { [AnswerChoice.C, "⌘ + Q"], [AnswerChoice.D, '⌘ + S, then type "terminal"'], ]), - AnswerChoice.B, // Replace `UNANSWERED` with the correct answer. + AnswerChoice.UNANSWERED, // Replace `UNANSWERED` with the correct answer. ); } } From 8d17ea7cc8a949c5d7869db8777780ff869efe98 Mon Sep 17 00:00:00 2001 From: "Anthony D. Mays" Date: Tue, 1 Oct 2024 20:12:02 -0400 Subject: [PATCH 8/9] Delete lesson_02/lib/typescript/codedifferently-instructional/package-lock.json --- .../codedifferently-instructional/package-lock.json | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 lesson_02/lib/typescript/codedifferently-instructional/package-lock.json diff --git a/lesson_02/lib/typescript/codedifferently-instructional/package-lock.json b/lesson_02/lib/typescript/codedifferently-instructional/package-lock.json deleted file mode 100644 index 5dbe3fe98..000000000 --- a/lesson_02/lib/typescript/codedifferently-instructional/package-lock.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "codedifferently-instructional", - "lockfileVersion": 3, - "requires": true, - "packages": {} -} From 2b9355eeeaa9c8dfa5d5564f2b2a87d6b2e803e0 Mon Sep 17 00:00:00 2001 From: Cogbonnia <244cogbonnia@gmail.com> Date: Wed, 2 Oct 2024 14:40:25 +0000 Subject: [PATCH 9/9] Created my quiz and added my answers. --- lesson_03/quiz/quiz.yaml | 7 +- .../quiz/src/quizzes/chelsea_ogbonnia_quiz.ts | 76 +++++++++++++++++++ lesson_03/quiz/src/quizzes/quizzes.module.ts | 2 + 3 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 lesson_03/quiz/src/quizzes/chelsea_ogbonnia_quiz.ts diff --git a/lesson_03/quiz/quiz.yaml b/lesson_03/quiz/quiz.yaml index 5de7eb536..d5b326bb3 100644 --- a/lesson_03/quiz/quiz.yaml +++ b/lesson_03/quiz/quiz.yaml @@ -50,4 +50,9 @@ quiz: shawndunsmore: - $2y$10$Kpde4LAfDyEhgWezFoI5texc53Sge6QQs8y5hR8DA7zHfyK8It5LW - $2y$10$T061IZuccoHb2XGjaICB/Olchf62DqrSDVIE0TE9Q9qidfLAL7sHS - - $2y$10$T061IZuccoHb2XGjaICB/Olchf62DqrSDVIE0TE9Q9qidfLAL7sHS \ No newline at end of file + - $2y$10$T061IZuccoHb2XGjaICB/Olchf62DqrSDVIE0TE9Q9qidfLAL7sHS + chelseaogbonnia: + - $2y$10$zToVGnZqyIwx0GGE.19Cve8sJ9enR1V0hGtssvR/8l42AcsR10aJS + - $2y$10$dkWnar/ZXMr9ndtRDcbTbe/HN3DhuULPoZhTx/xATi.UYQ0DUIx1W + - $2y$10$.Cw9Sjf6Pf9K8EsThegQ5e8BMoJdLl40CCuJ2FKHLar1k8hVfR9fu + - $2y$10$.pmOuTs0Oqjfhn9mMIQCQu7Fbe1ZOZmZIbTGqqul.hnVLqIV6bn/W diff --git a/lesson_03/quiz/src/quizzes/chelsea_ogbonnia_quiz.ts b/lesson_03/quiz/src/quizzes/chelsea_ogbonnia_quiz.ts new file mode 100644 index 000000000..95ddb11d5 --- /dev/null +++ b/lesson_03/quiz/src/quizzes/chelsea_ogbonnia_quiz.ts @@ -0,0 +1,76 @@ +import { + AnswerChoice, + MultipleChoiceQuizQuestion, + QuizQuestion, + QuizQuestionProvider, +} from 'codedifferently-instructional'; + +export class ChelseaOgbonniaQuiz implements QuizQuestionProvider { + getProviderName(): string { + return 'chelseaogbonnia'; + } + + makeQuizQuestions(): QuizQuestion[] { + return [ + ChelseaOgbonniaQuiz.makeQuestion0(), + ChelseaOgbonniaQuiz.makeQuestion1(), + ChelseaOgbonniaQuiz.makeQuestion2(), + ChelseaOgbonniaQuiz.makeQuestion3(), + ]; + } + + private static makeQuestion0(): QuizQuestion { + return new MultipleChoiceQuizQuestion( + 0, + 'Which git command combines the changes from one branch to the current branch?', + new Map([ + [AnswerChoice.A, 'git branch -d '], + [AnswerChoice.B, 'git merge '], + [AnswerChoice.C, 'git branch'], + [AnswerChoice.D, 'git add '], + ]), + AnswerChoice.UNANSWERED, + ); // Replace `UNANSWERED` with the correct answer. + } + + private static makeQuestion1(): QuizQuestion { + return new MultipleChoiceQuizQuestion( + 1, + 'Which git command is used fetch and download content from a remote repository to update the local repository?', + new Map([ + [AnswerChoice.A, 'git fetch'], + [AnswerChoice.B, 'git merge'], + [AnswerChoice.C, 'git clone'], + [AnswerChoice.D, 'git pull'], + ]), + AnswerChoice.UNANSWERED, + ); // Replace `UNANSWERED` with the correct answer. + } + private static makeQuestion2(): QuizQuestion { + return new MultipleChoiceQuizQuestion( + 2, + 'Which Git command is NOT used to sync repositories?', + new Map([ + [AnswerChoice.A, 'git push'], + [AnswerChoice.B, 'git sync'], + [AnswerChoice.C, 'git pull'], + [AnswerChoice.D, 'git merge'], + ]), + AnswerChoice.UNANSWERED, + ); // Replace `UNANSWERED` with the correct answer. + } + + private static makeQuestion3(): QuizQuestion { + return new MultipleChoiceQuizQuestion( + 3, + 'Which git command creates a new Git repository?', + new Map([ + [AnswerChoice.A, 'git init'], + [AnswerChoice.B, 'git clone'], + [AnswerChoice.C, 'git folder '], + [AnswerChoice.D, 'git add '], + ]), + 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 57768457b..bad49a457 100644 --- a/lesson_03/quiz/src/quizzes/quizzes.module.ts +++ b/lesson_03/quiz/src/quizzes/quizzes.module.ts @@ -3,6 +3,7 @@ import { AmiyahJonesQuiz } from './amiyah_jones_quiz.js'; import { AngelicaCQuiz } from './angelica_c_quiz.js'; import { AnotherQuiz } from './another_quiz.js'; import { AnthonyMaysQuiz } from './anthony_mays_quiz.js'; +import { ChelseaOgbonniaQuiz } from './chelsea_ogbonnia_quiz.js'; import { ChigazoGrahamsQuiz } from './chigazo_graham_quiz.js'; import { DasiaEnglishQuiz } from './dasia_english_quiz.js'; import { JamesCapparellQuiz } from './james_capparell_quiz.js'; @@ -30,6 +31,7 @@ const QUIZ_PROVIDERS = [ AmiyahJonesQuiz, XavierCruzQuiz, ZionBuchananQuiz, + ChelseaOgbonniaQuiz, ]; @Module({