Below is a some boilerplate code to use when creating a custom module inside HubSpot CMS.
<div class="module-class" id="{{name}}"> <div class="row-fluid"> </div> </div> {% require_css %} <style> {% scope_css %} {% end_scope_css %} </style> {% end_require_css %} {% require_js %} <script> window.addEventListener("load", (event) => { }); </script> {% end_require_js %}