LEGACY 🟡🔴🟡 | Home | Blog | About | LOGIN DISABLED  
Reference ID: 45 | Category: N/A
Navigation update

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!

Active tab CSS Method working

Date of writing: 2025-05-09




Comments section
Posts are stored on there server they are sent to; Comments will not be viewable if you are connected to a different server.





Comments


No comments yet.