Skip to content

Commit 10cf77e

Browse files
committed
Add last 2 of 4 mini-quizzes + minor syntax fixes
1 parent 8e8f198 commit 10cf77e

File tree

19 files changed

+106
-83
lines changed

19 files changed

+106
-83
lines changed

pages/lessons/projects/3.mdx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ Let's pause here for a few questions to give you a taste of what's to come, and
5050
<br/>
5151
How did that go? No pressure if there were some gaps. We're here to bridge them together! ⌛ And have you set your pomodoro yet? 😊 🌱
5252

53-
PART
54-
5553
### Lesson breakdown
5654

5755
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:
@@ -78,7 +76,6 @@ We will guide you through each step, ensuring a fun and comprehensive learning e
7876

7977

8078
## First things first 👷‍♂️
81-
{/* ASSERTIONS AND DATA TYPES e.g. MAPPINGS */}
8279

8380
Before we start coding, we need to create our project template by following
8481
the same steps as in the previous *Build a Basic NFT* lesson. Make a note of
@@ -817,12 +814,13 @@ contract TierNFT is ERC721, Ownable {
817814
</details>
818815
<br/>
819816

820-
<SideDrawer buttonText="Checkpoint Questions" title="Giving Colour and Access to our Tokens">
817+
<SideDrawer buttonText="Checkpoint Questions" title="Giving Personality and Access to our Tokens">
821818
<Question question="lesson-3/3-uri-svg-withdraw/Q1" />
822819
<Question question="lesson-3/3-uri-svg-withdraw/Q2" />
823820
<Question question="lesson-3/3-uri-svg-withdraw/Q3" />
824821
<Question question="lesson-3/3-uri-svg-withdraw/Q4" />
825822
<Question question="lesson-3/3-uri-svg-withdraw/Q5" />
823+
<Question question="lesson-3/3-uri-svg-withdraw/Q6" />
826824
</SideDrawer>
827825
⌛ Pomodoro? 😊 🌱
828826
<br/>
@@ -871,8 +869,7 @@ main().catch((error) => {
871869
contract. This is the deploy transaction!
872870
- `COLLECTION_NAME, COLLECTION_SYMBOL` - these are the parameters for our
873871
contract's constructor function to set up its initial state.
874-
- `await contract.deployed()` - waits for the transaction to be approved and our
875-
contract to be finished deploying.
872+
- `await contract.deployed()` - waits for the transaction to be approved by the network validators, and confirms that the deployment of the contract was successful, telling us that it's ready for use on the blockchain.
876873
- Running the `main().catch( … )` script at the very end makes sure that all the previous
877874
code is executed, and also logs any errors, and prints them to the console.
878875

@@ -909,7 +906,7 @@ This time we're using Polygon Mumbai test network. Head over to the
909906
the testnet button, otherwise no testnets will show up, and search for Mumbai. You will see the testnet network
910907
with chainID 80001. Add it to your wallet.
911908
<br/>
912-
Note: **Always make sure to use a separate browser profile, with a separate wallet, holding only testnet tokens, for any tutorials. See our Fundamental on *Introduction to web3 Wallets* for background on your security, your private keys and your recovery seed phrases!**
909+
Note: **Always make sure to use a separate browser profile, with a separate wallet, holding only testnet tokens, for any tutorials. See our Fundamental on** *Introduction to web3 Wallets* **for background on your security, your private keys and your recovery seed phrases!**
913910
<br/>
914911
![2_faucet.png](/assets/lessons/3/2_faucet.png)
915912

utils/questions/lesson-3/1-intro/Q4.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"question": "Which of the following go into hardhat.config.js in an NFT project?",
2+
"question": "Which of the following go into `hardhat.config.js` in an NFT project?",
33
"options": [
44
{
55
"answer": "NFT_NAME."

utils/questions/lesson-3/1-intro/Q5.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"question": "Which answer is truthier?",
2+
"question": "Which answer is 'truthier'?",
33
"options": [
44
{
5-
"answer": "We need a .json file to store our NFT data."
5+
"answer": "We need a `.json` file to store our NFT data."
66
},
77
{
88
"answer": "We can store NFT data in a smart contract.",

utils/questions/lesson-3/2-set-up-mint-tiers/Q1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"question": "Which contract does the TierNFT contract inherit from?",
2+
"question": "Which contract does the `TierNFT` contract inherit from?",
33
"options": [
44
{
55
"answer": "ERC20"

utils/questions/lesson-3/2-set-up-mint-tiers/Q2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"question": "What is the totalSupply variable for in the contract?",
2+
"question": "What is the `totalSupply` variable for in the contract?",
33
"options": [
44
{
55
"answer": "Storing the value of the current tier."
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"question": "What does the tokenTier mapping do?",
2+
"question": "What does the `tokenTier` mapping do?",
33
"options": [
44
{
55
"answer": "Store the total supply of each tier."
@@ -9,10 +9,10 @@
99
"correct": true
1010
},
1111
{
12-
"answer": "It maps tierId to the public."
12+
"answer": "It maps `tierId` to the public."
1313
},
1414
{
15-
"answer": "It maps tokenTier to the totalSupply."
15+
"answer": "It maps `tokenTier` to the `totalSupply`."
1616
}
1717
]
1818
}

utils/questions/lesson-3/2-set-up-mint-tiers/Q5.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"question": "What additional functionality do you think we will add to this tierNFT contract?",
2+
"question": "What additional functionality do you think we will add to this `tierNFT` contract?",
33
"options": [
44
{
55
"answer": "Integration with a decentralized exchange for trading TierNFTs."

utils/questions/lesson-3/3-uri-svg-withdraw/Q1.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
{
2-
"question": "Which of these properties does Ethereum have?",
2+
"question": "What does the `tokenURI` function in the contract do?",
33
"options": [
44
{
5-
"answer": "Permissioned"
5+
"answer": "Mint a new token."
66
},
77
{
8-
"answer": "Trustless",
9-
"correct": true
8+
"answer": " Store an image in the token."
109
},
1110
{
12-
"answer": "Decentralized",
11+
"answer": " Create an identifier for the token.",
1312
"correct": true
1413
}
1514
]
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
2-
"question": "Which of these properties does Ethereum have?",
2+
"question": "The SVG image created by:",
33
"options": [
44
{
5-
"answer": "Permissioned"
5+
"answer": "Fetching it from an external source."
66
},
77
{
8-
"answer": "Trustless",
9-
"correct": true
8+
"answer": "Storing it as a separate file in the contract."
109
},
1110
{
12-
"answer": "Decentralized",
11+
"answer": "Creating it dynamically using Solidity code",
1312
"correct": true
13+
},
14+
{
15+
"answer": "Storing it as a separate file in the contract"
1416
}
1517
]
1618
}
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
2-
"question": "Which of these properties does Ethereum have?",
2+
"question": "What does the `tierName` variable store?",
33
"options": [
44
{
5-
"answer": "Permissioned"
5+
"answer": "The name of the contract."
66
},
77
{
8-
"answer": "Trustless",
8+
"answer": "Token ID in string format.",
99
"correct": true
1010
},
1111
{
12-
"answer": "Decentralized",
13-
"correct": true
12+
"answer": "Tier type of the NFT."
13+
},
14+
{
15+
"answer": "The description of the collection"
1416
}
1517
]
1618
}

0 commit comments

Comments
 (0)