On my Portfolio Page Project, I am able to link from my nav bar to a specific location on my page but I am unable to successfully create a link that takes me “back”, “to the top”, “home”. I am very familiar with how links work. Can someone please review my code and help me to see what I am missing, please? Thank you!
Can you point out the code where you are trying to link back to the top of the page?
If you’d give for example the first element the id=“top”, you’d be able to link to it using the same method as you are using to link to stuff further down on the page.
Replace line 2
<nav class="navbar navbar-expand bg-dark" id="top">
Add another button to your footer
<button type="button" class="btn btn-info"><a href="#top">Back to TOP</a>
Hi there. Sorry about that!
The dead links are on lines 46:
I tried using both #home and #index but they are still dead.
*Also, now none of my images are showing up. Has anyone experienced this issue with broken images?
Thank you so much for your help!
*Reading through the forums I found out that the reason my images weren’t showing up is because Imgur doesn’t get along with CodePen. Thannks!
I’ll try out your suggestions tomorrow. Thank you for your help!