"back" links non-responsive

"back" links non-responsive
0

#1

Hi.
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! :slight_smile:


#2

Can you point out the code where you are trying to link back to the top of the page?


#3

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>

#4

Hi there. Sorry about that!
The dead links are on lines 46:

TOP


and 103:
Top
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!


#5

I’ll try out your suggestions tomorrow. Thank you for your help!