Let’s code a class quiz.
In Purple Mash:
Work.My Class folder.Class Quiz folder.Quiz Starter.Here is the code:

Edit the code to make a question of your own.
print to screen blocks to ask your question.Input | equals | {your answer}When you are confident that your question is a good one and that it properly checks that the user was right, you are ready to save it.
Hamburger: Save.My Class > Class QuizSave button (then x the box).Change the restart block at the end of the program to a launch block. Use the launch block to connect to another question in the folder.


We need to make sure to add everyone’s question in a chain, so listen to your teacher.
You might need to wait for more questions to be saved.
Improve the look of your question by changing the background properties or adding a design.