Open MrHardcode opened 4 years ago
When pressing HOME after pressing ENDPOINTS for example the ENDPOINT option in the nav-bar is still highlighted.
How do you reproduce this? Works fine for me.
I had worded it slightly wrong. The GIF should show what I mean. By HOME I meant the main { Hold Krykke } icon thing
Ohh. Yeah, that { Hold Krykke } thing is different from the others, code-wise, and isn't included in the code that shifts the .active class around.
It only gets all elements from navbarNav ID.
This behavior can be coded in a bunch of different ways. I used the w3schools way.
When pressing HOME after pressing ENDPOINTS for example the ENDPOINT option in the nav-bar is still highlighted.