Skip to content

Commit 65e5313

Browse files
committed
feat: remove mdx changes
1 parent 85b3c32 commit 65e5313

File tree

4 files changed

+16
-39
lines changed

4 files changed

+16
-39
lines changed

components/mdx/Question.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ interface Question {
1515
]
1616
}
1717

18-
interface Answers {
19-
[index: string]: number
20-
}
21-
2218
const Question: FC<QuestionProps> = (props: QuestionProps) => {
2319
const question: Question = require(`../../utils/questions/${props.question}.json`)
2420
const [optionSelected, setOptionSelected]: [

pages/lessons/projects/1.mdx

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ benefits to this decentralised model as we’ll continue to see.
122122

123123
</SideDrawer>
124124

125-
<Question question="question-1" />
126-
127125
## Let’s get this party started!
128126

129127
We’re going to write a smart contract, which is going to be a “Web3
@@ -306,8 +304,6 @@ contract WAGMI {
306304

307305
</SideDrawer>
308306

309-
<Question question="question-2" />
310-
311307
## Creating Functions
312308

313309
Our contract needs a way to store new information on the blockchain! But both
@@ -399,8 +395,6 @@ some more about them in **Variables** and **Functions**.
399395

400396
</SideDrawer>
401397

402-
<Question question="question-3" />
403-
404398
Ok, now we have to figure out a way to store some info on our contract!
405399

406400
We want to _set_ a new message in our contract, so now we define a new function
@@ -711,14 +705,25 @@ you see the magical spell that is being cast here?
711705
![Wizard Wooshing on Successful Lesson](/assets/lessons/1/img_10.png)
712706

713707
Before you go ahead and tell us: **what your future in web3 is,** have a check
714-
on what you didn’t know a little while ago, and what you know now! Take the quiz
715-
and prove your knowledge :)
708+
on what you didn’t know a little while ago, and what you know now! \*
709+
710+
Apart from a user wallet, what else uses a blockchain (Ethereum) address?
711+
712+
How many parameters can we have in an event?
713+
714+
What can we use to find a past event?
715+
716+
Ethereum uses something for transaction fees. What’s it called?
717+
718+
Where do the values for event parameters get stored?
719+
720+
What is the use of the **pragma solidity** statement in our smart contract?
716721

717-
<br />
722+
Do state variables stay permanently on the blockchain?
718723

719-
<Quiz quiz="lesson-1" />
724+
Can a view function modify the state of the blockchain?
720725

721-
<br />
726+
What can we use a smart contract for?
722727

723728
**Now, go to the community in Discord to share your new Open Sourcerer
724729
powers**......and find the answers too!!!

utils/questions/question-2.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

utils/questions/question-3.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)