Skip to content

Commit 6e93140

Browse files
committed
Add utils/quizzes/quiz-creation-tools.txt + mini-quiz placeholders in .mdx
1 parent 3727f01 commit 6e93140

File tree

2 files changed

+84
-5
lines changed

2 files changed

+84
-5
lines changed

pages/lessons/projects/3.mdx

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import { LessonHeader } from '../../../components/mdx/LessonHeader'
2323
title="Lesson 3: Tier NFTs"
2424
discussionUrl="https://developerdao.peeranha.io/discussions"
2525
/>
26-
2726
## About this lesson
27+
PART 1
2828

2929
Welcome to this tutorial, where you will learn how to create tiered NFTs using Solidity smart contracts and expand the capabilities of your NFT projects. This tutorial builds upon the knowledge gained from our previous *Getting Started with Smart Contract Development* and *Build a Basic NFT* lessons. If you haven't already, we recommend you complete them to familiarise yourself with the fundamentals of Solidity and the concepts we will be building upon in this lesson.
3030

@@ -38,7 +38,8 @@ In the previous lesson, we talked about NFTs and their use cases. Unlike traditi
3838

3939
![1_diagram.png](/assets/lessons/3/1_diagram.png)
4040

41-
{/* WARM-UP QUESTIONS */}
41+
Let's pause here for a few questions to give you a taste of what's to come, and remind, or check yourself on some prior knowledge.
42+
4243
<SideDrawer buttonText="Warm-up Questions" title="Some previous knowledge, some prediction">
4344
<Question question="lesson-2/1-intro/Q1" />
4445
<Question question="lesson-2/1-intro/Q2" />
@@ -47,8 +48,15 @@ In the previous lesson, we talked about NFTs and their use cases. Unlike traditi
4748
<Question question="lesson-2/1-intro/Q5" />
4849
</SideDrawer>
4950
<br/>
51+
How did that go? No pressure if there were some gaps. We're here to bridge them together!
52+
53+
Did you set the pomodoro yet? ⌛😊
54+
55+
PART 2
5056

51-
**Now that we have set the stage, it's time to dive into the exciting world of tiered NFTs and uncover the unique superpowers they possess. By the end of this tutorial, you will have gained a wealth of knowledge and accomplished the following steps**:
57+
### Lesson breakdown
58+
59+
Now that we have set the stage, it's time to dive into the exciting world of tiered NFTs and uncover the unique superpowers they possess. By the end of this tutorial, you will have gained a wealth of knowledge and accomplished the following steps:
5260

5361
- Setting up the development environment
5462
- Writing and deploying a Solidity smart contract
@@ -57,7 +65,9 @@ In the previous lesson, we talked about NFTs and their use cases. Unlike traditi
5765
- Exploring additional functionalities and possibilities with tiered NFTs ..... in the smart contract!
5866
- Showcasing and trading your tiered NFTs on a public marketplace
5967

60-
**Throughout this journey, we will leverage a range of developer tools and open accounts to transition seamlessly between different development environments. These tools include**:
68+
### Developer tooling
69+
70+
Throughout this journey, we will leverage a range of developer tools and open accounts to transition seamlessly between different development environments. These tools include:
6171

6272
- a CLI/console
6373
- an IDE
@@ -359,6 +369,8 @@ contract TierNFT is ERC721 {
359369
</SideDrawer>
360370
<br/>
361371
372+
Pomodoro ⌛😊
373+
362374
PART 3
363375
364376
### Create tokenURI function
@@ -809,6 +821,17 @@ contract TierNFT is ERC721, Ownable {
809821
</details>
810822
<br/>
811823

824+
<SideDrawer buttonText="Checkpoint Questions" title="Creating a Robust Development Environment">
825+
<Question question="lesson-3/<# of section block+section name/Q1" />
826+
<Question question="lesson-3//Q2" />
827+
<Question question="lesson-3//Q3" />
828+
<Question question="lesson-3//Q4" />
829+
<Question question="lesson-3/-/Q5" />
830+
</SideDrawer>
831+
<br/>
832+
⌛ Pomodoro 😊
833+
PART 4
834+
812835
### Time for our Deploy Script
813836

814837
We need a script so we can get our smart contract deployed. Let’s write that.
@@ -1017,7 +1040,18 @@ main().catch((error) => {
10171040
- `ethers.utils.parseEther` - here we use *Ethers* to translate the value into wei i.e. multiply it with 10\*\*18
10181041
- `let totalSupply = await contract.totalSupply()` - is calling the
10191042
`totalSupply()` function to check if the 3 NFTs minted correctly.
1043+
<br/>
1044+
<SideDrawer buttonText="Checkpoint Questions" title="Creating a Robust Development Environment">
1045+
<Question question="lesson-3/<# of section block+section name/Q1" />
1046+
<Question question="lesson-3//Q2" />
1047+
<Question question="lesson-3//Q3" />
1048+
<Question question="lesson-3//Q4" />
1049+
<Question question="lesson-3/-/Q5" />
1050+
</SideDrawer>
1051+
<br/>
10201052

1053+
PART 5
1054+
⌛ Pomodoro 😊
10211055
### Let’s mint!
10221056

10231057
To mint our tier NFTs we will run the following command.
@@ -1059,10 +1093,11 @@ In the mean time, jump into the forum and share your experiences with your peers
10591093
## Woohoo ✨ Now it’s time to celebrate.
10601094
<br/><br/>
10611095

1096+
10621097
import { ContributorFooter } from '../../../components/mdx/ContributorFooter'
10631098

10641099
<ContributorFooter
1065-
authors={['meowy', '_7i7o', 'piablo']}
1100+
authors={['_7i7o', 'meowy', 'piablo']}
10661101
reviewers={['georgemac510']}
10671102
contributors={['mveve']}
10681103
/>

utils/quizzes/quiz-creation-tools.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
Here is the super quiz editor that our very own @Chiin created!
2+
3+
https://quiz-editor.vercel.app/
4+
5+
Why not check it out to create your questions and quizzes?
6+
7+
See /quizzes/template-quiz.json on what the syntax for a full quiz looks like.....or just use the app to create one and see for yourself
8+
9+
A single question with ONE correct answer looks like this and the app will give you the following code. You can copy your own manually from the app:
10+
11+
{
12+
"question": "Apart from a user wallet, what else uses a blockchain (Ethereum) address?",
13+
"options": [
14+
{
15+
"answer": "Transactions"
16+
},
17+
{
18+
"answer": "Smart contracts",
19+
"correct": true
20+
},
21+
{
22+
"answer": "NFTs"
23+
}
24+
]
25+
}
26+
27+
TWO correct answers looks like this and you will need to add ", correct": true' yourself if you want multiple correct answers:
28+
29+
{
30+
"question": "Apart from a user wallet, what else uses a blockchain (Ethereum) address?",
31+
"options": [
32+
{
33+
"answer": "Transactions"
34+
},
35+
{
36+
"answer": "Smart contracts",
37+
"correct": true
38+
},
39+
{
40+
"answer": "NFTs",
41+
"correct": true
42+
}
43+
]
44+
}

0 commit comments

Comments
 (0)