-
Notifications
You must be signed in to change notification settings - Fork 23
Lesson 03 #129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Lesson 03 #129
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
6d8dda2
Create README.md
JEKLUND251 ec0b53d
Update README.md
JEKLUND251 08494d8
Update README.md
JEKLUND251 4d289e1
Create Images subfolder
JEKLUND251 5ff6a5e
Add files via upload
JEKLUND251 76d6adf
Delete lesson_00/JustinEKlund.md/Images subfolder
JEKLUND251 094cf02
Rename IMG_2810.jpg to Images subfolder
JEKLUND251 f8174e6
Rename Images subfolder to Images
JEKLUND251 7a9fa54
Rename lesson_00/JustinEKlund.md/Images to lesson_00/JustinEKlund.md/…
JEKLUND251 1be4541
Add files via upload
JEKLUND251 01d896e
Rename IMG_2810 (1).jpg to readme pic 1
JEKLUND251 15e3d77
Update README.md
JEKLUND251 706c4c2
Delete lesson_00/JustinEKlund.md/Images files directory
JEKLUND251 3d2cd35
Add files via upload
JEKLUND251 c89c4d2
Delete lesson_00/JustinEKlund.md/Images file directory
JEKLUND251 1eb5166
Create txt
JEKLUND251 f9b0b73
Add files via upload
JEKLUND251 edfaa94
Delete lesson_00/JustinEKlund.md/Images/txt
JEKLUND251 aa23cde
Update README.md
JEKLUND251 f2c7cf9
Fix: Punctuation and grammar
VicenteVigueras c91781d
Merge branch 'code-differently:main' into main
JEKLUND251 f770163
Merge branch 'code-differently:main' into main
JEKLUND251 fec1b98
Merge branch 'code-differently:main' into main
JEKLUND251 58a4a65
Merge branch 'code-differently:main' into main
JEKLUND251 a1bbed5
Merge branch 'code-differently:main' into main
JEKLUND251 90c2cc4
Merge branch 'code-differently:main' into main
JEKLUND251 52ba282
Merge branch 'code-differently:main' into main
JEKLUND251 ad7e866
added in lesson 3 quiz work
JEKLUND251 d74da43
commited the changes requested by anthony
JEKLUND251 1267efe
chore: cleaning up errors in quiz for test run.
JEKLUND251 d8d9aec
Merge branch 'main' into lesson_03
JEKLUND251 1dd4f62
Merge branch 'main' into lesson_03
JEKLUND251 4980f5e
chore:pushing changes up
JEKLUND251 efdcf32
Merge branch 'main' into lesson_03
JEKLUND251 c16ac10
chore: delete lesson_04/anthonydmays/justineklund/README.md
anthonydmays File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import { | ||
AnswerChoice, | ||
MultipleChoiceQuizQuestion, | ||
QuizQuestion, | ||
QuizQuestionProvider, | ||
} from 'codedifferently-instructional'; | ||
|
||
export class JustinsQuiz implements QuizQuestionProvider { | ||
getProviderName(): string { | ||
return 'justin'; | ||
} | ||
|
||
makeQuizQuestions(): QuizQuestion[] { | ||
return [ | ||
JustinsQuiz.makeQuestion0(), | ||
JustinsQuiz.makeQuestion1(), | ||
JustinsQuiz.makeQuestion2(), | ||
]; | ||
} | ||
|
||
private static makeQuestion0(): QuizQuestion { | ||
return new MultipleChoiceQuizQuestion( | ||
0, | ||
'How many planets are in our solar system?', | ||
new Map<AnswerChoice, string>([ | ||
[AnswerChoice.A, '8'], | ||
[AnswerChoice.B, '9'], | ||
[AnswerChoice.C, '12'], | ||
[AnswerChoice.D, '10'], | ||
]), | ||
AnswerChoice.UNANSWERED, | ||
); // Replace `UNANSWERED` with the correct answer. | ||
} | ||
|
||
private static makeQuestion1(): QuizQuestion { | ||
return new MultipleChoiceQuizQuestion( | ||
1, | ||
'How many states are there in the United States?', | ||
new Map<AnswerChoice, string>([ | ||
[AnswerChoice.A, '53'], | ||
[AnswerChoice.B, '52'], | ||
[AnswerChoice.C, '48'], | ||
[AnswerChoice.D, '50'], | ||
]), | ||
AnswerChoice.UNANSWERED, | ||
); // Replace `UNANSWERED` with the correct answer. | ||
} | ||
private static makeQuestion2(): QuizQuestion { | ||
return new MultipleChoiceQuizQuestion( | ||
2, | ||
'What date does Christmas fall on?', | ||
new Map<AnswerChoice, string>([ | ||
[AnswerChoice.A, 'December 25th'], | ||
[AnswerChoice.B, 'December 24th'], | ||
[AnswerChoice.C, 'December 26th'], | ||
[AnswerChoice.D, 'December 23rd'], | ||
]), | ||
AnswerChoice.UNANSWERED, | ||
); // Replace `UNANSWERED` with the correct answer. | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.