-
Notifications
You must be signed in to change notification settings - Fork 53
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
feature: quizzes #172
feature: quizzes #172
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @alanracciatti ! You are a rock star! We only need to remove these 2 changes and we are good to merge 😊
Hope you have a great weekend!
pages/lessons/projects/1.mdx
Outdated
@@ -297,7 +297,7 @@ contract WAGMI { | |||
<Callout emoji='💡' size='md' variant='info'> | |||
While private and internal are not readable or modifiable from other contracts, its values are set on a public blockchain, making its values visible from the outside world. | |||
</Callout> | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be awesome if we could remove this change so we don't have to "change" the Lesson in this PR 😊
pages/lessons/projects/1.mdx
Outdated
@@ -705,7 +705,7 @@ you see the magical spell that is being cast here? | |||
![Wizard Wooshing on Successful Lesson](/assets/lessons/1/img_10.png) | |||
|
|||
Before you go ahead and tell us: **what your future in web3 is,** have a check | |||
on what you didn’t know a little while ago, and what you know now! * | |||
on what you didn’t know a little while ago, and what you know now! \* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here 😊
This one adds a \
that we wouldn't want to see in production 😉
Hey @7i7o! Ty for your feedback. Lol it seems Have a good weekend! |
@alanracciatti LGTM! 🚀 |
You are a superstar @alanracciatti !!!! |
Amazing work @alanracciatti !! |
WIP - To-Do
This pull request adds a quiz at the end of the lesson 1. To do it I've created a component that can be used in any
.mdx
file. This feature doesn't make any interaction with a backend, it is just interactive and doesn't saves any data.Preview
Demo here
Changes
API Updates
New Features (required)
Introducing the
<Quiz>
component: It was created to be used easily asf. Adding it to your page takes 2 steps:Step 1
Create a
.json
file in theutils/quizzes
folder and write the questions following the interface:Step 2
Add the quiz in your
.mdx
file:Closes #117 on merge