So with my portfolio I have 3 tabs at the top of the page, “about”, “portfolio” and “contact me” which separates the content of the page into those three categories.
The navbar buttons successfully hide the other two tab’s content when you click on one, but I’d like content of the webpage to adjust so it is displayed at the top of the page as it does on the bootstrap tabs example which can be found here
As you can see from my portfolio the content doesn’t adjust it’s position based on what’s visible and I wanted to know how to do that.
Hopefully someone can help me! I don’t really know what to do.
Tabs might not be the best option here. Especially since you want the links to be in a navigation bar. You could use a normal navigation with three divs (#about, #portfolio, #contact) and then on click hide all of them and show the one being clicked.
The course gives you the basics, so you will not need to figure most things out by yourself. If you google a problem, you will most likely find an answer or a tutorial or something. And you can of course ask all your questions here . If you want to learn more about jQuery, I can recommend this course.
Also is there a way so that my about section is selected by default with your fix? as it stands currently nothing is selected by default despite my about section having the a class “active”