Articles on: Courses

How to add custom Code to your page

This article assumes that you have created your course. You can learn how to do that here

To ensure that custom HTML code runs properly , please ensure it is all surrounded by one tag e.g <div></div> or <iframe></iframe> tags.

Always the code separately in a code editor first and ensure there are no errors or bugs. Any error in the code & it will not be rendered properly or at all.

Open the course you have created and in one of the chapters click + Page

&plus; Page

Select Blank template on the page that appears

Blank template

Once the canvas is open, scroll to the bottom and click the plus button to add a block

Add Block

Select the HTML EMBED block

Select Embed Block

Click on the blank frame that appears and a side menu will be opened. Paste your iframe or embed code in the box.

Add Embed Code

Once the code is properly entered the frame will be rendered.

Rendered Frame

You can combine complex HTML and javascript to render active elements as well. e.g

Complex Embed

Updated on: 20/06/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!