loading Loading...
add chat to your website

How to insert source code in a question?

You can create questions where learners can see the source code, intact, with no loss in the format. For instance, you can present learners a piece of code and then ask them to complete it as shown in the image below:


Let's look at the steps to add a source code, like the one above, in your quiz.


Step 1. Click on the "source code" icon while creating a question.



Step 2. Add the code you want as HTML, CSS, PHP or JS.