Skip to content
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

Add selfchecks back to assessment example #5

Merged
merged 1 commit into from
Mar 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion T003-ContentExamples/Assessment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ x = 10

How do you write a flashcard component?

Try creating one inline in your mdx. See if you can style
Try creating one inline in your mdx. Write
- the prompt
- the answer
- optionally, a SelfCheck

</Prompt>
<Answer>
Expand All @@ -45,11 +46,15 @@ Use a shortcode in mdx and either:
Note that newlines are needed for embedding mdx inside of React.

</Answer>
<SelfCheck />
</FlashCard>

You can also use props for all these:

<FlashCard
prompt={"How do you assign a variable in python? Draw it out."}
explanation={"You use the assignment operator, ="}
selfcheck={<SelfCheck />}
/>

## Next, the slightly more complicated MultipleChoice component
Expand Down Expand Up @@ -144,6 +149,7 @@ Some common analogies are:
- an envelope to put a value in

</Explanation>
<SelfCheck />
</TextResponse>

## Confidence Check
Expand Down