Ok, this is only a little stupid, the first post is *technically* live; however, I still need to rework how the menu system works and add the blog page in the process. After I stopped just adding "class='active'" to the correct <li> on each page the tab coloring no longer works.
First we'll look at what we have so far(nav.html):
<ul> <li><a href="/" class="home">Home</a></li> <li><a href="https://www.youtube.com/@TechGeekUnited">Youtube</a></li> <li><a class="contact" href="contact">Contact</a></li> <li><a class="projects" href="wdihw">Projects</a></li> <li><a class="about" href="about">About</a></li></ul>Now lets run comp.bat and see if it worked!
Success! The correct tab lights up for each page!
Date of writing: 2025-05-09