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.


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


+ Page


  1. Select Blank template on the page that appears


Blank template


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


Add Block


  1. Select the HTML EMBED block


Select Embed Block


  1. 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


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


Rendered Frame


  1. 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!