JavaScript Menu

Save this as “menu.js” for it to work with the rest of the template codes. If you don’t wish to use this, you can just copy the HTML and paste it into <div class=“menu”> on the templates and remove <script src=“MY-WEBSITE/menu.js” defer></script>

document.querySelector(“.menu”).innerHTML = `

<a href=“URL”>Home</a>

<a href=“URL”>About</a>

<a href=“URL”>Socials</a>

`;

Add and remove menu items to suit your needs! Just type the HTML between the ‘.