TGUA.DEV | Home | Blog | About | More | GUEST  
Reference ID: 45 | Category:
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: --



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


Zeedith 
| A D M I N |
What do you think of Tensei's specs?
(2025-07-27 16:58)