Hello! I’m relative newbie when it comes to HTML & CSS. I managed to get my portfolio where it is now with a lot of hard work and dedicated research. However, I’m having an issue. In my navi bar, when I click on “Portfolio”, I want it to scroll to the Portfolio section of my site (same for clicking on Contact & About). I looked online at a couple different JS/CSS/HTML options but none seemed to do the trick. Just wondering how to go about this. I tried to use a $.scrollto function, but we haven’t really learned that yet. We’ve only learned basic JS thus far, so I’m a little out of my depth but making it work so far! I just need help on this one thing. Any help would be much appreciated Thank you in advance
Thought I would do a short little update: After trying so many things, and nothing working, I finally figured out what I was doing wrong! It was such a stupid mistake and now I feel dumb, but I was staring it in the face. I had my a href = “portfolio” and id = “portfolio” right beneath it. However, I didn’t actually put the ID on the text where I wanted the scrolling to stop. When I realized it, I was like duh! The ID obviously needs to go where I’m telling the link to go and not just right beneath it (which is what the examples had, but no examples had as much writing as I did). All good now! Thanks so much.