Forum Discussion

DavidBaird-5911's avatar
DavidBaird-5911
Community Member
21 days ago

Rendering speed of code blocks

Hi I have created some simple code blocks to replace the in-build note block.

When I preview the course or view it in Review 360, they seem very slow to display compared to other blocks. Has anyone noticed this?

I have attached an example if you would like to examine the code.

 

1 Reply

  • carl's avatar
    carl
    Community Member

    I’ve noticed similar issues—custom code blocks can be slower to render than built-in blocks because the browser has to process extra HTML, CSS, or JS. Optimizing your code (minimizing scripts, reducing DOM elements, or using simpler styling) usually helps speed things up