# Button trouble on Portfolio project

**URL:** <https://forum.freecodecamp.org/t/button-trouble-on-portfolio-project/44059>\
**Category:** I Built This\
**Created:** [October 9, 2016, 11:40pm UTC](https://forum.freecodecamp.org/t/button-trouble-on-portfolio-project/44059 "2016-10-09T23:40:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pandafairies](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/pandafairies/32/16377_2.png) [@Pandafairies](https://forum.freecodecamp.org/u/Pandafairies)\
**Post date:** [October 9, 2016, 11:40pm UTC](https://forum.freecodecamp.org/t/button-trouble-on-portfolio-project/44059/1 "2016-10-09T23:40:48Z")

</div>

Hi everyone, i’m trying to get the buttons on the top of my page to link to their respective sections and scroll to them when clicked but its not working and I can’t figure out why ☹ here is the link http//:www.[http://codepen.io/Saraseiser/pen/EgwVvB](http://codepen.io/Saraseiser/pen/EgwVvB) please ignore the styling, i haven’t really worked on that yet

---

<div class="post-metadata">

**Author:** ![Pandafairies](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/pandafairies/32/16377_2.png) [@Pandafairies](https://forum.freecodecamp.org/u/Pandafairies)\
**Post date:** [October 9, 2016, 11:41pm UTC](https://forum.freecodecamp.org/t/button-trouble-on-portfolio-project/44059/2 "2016-10-09T23:41:47Z")

</div>

[http://www.http](http://www.http)://codepen.io/Saraseiser/pen/EgwVvB

---

<div class="post-metadata">

**Author:** ![armi2014](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@armi2014](https://forum.freecodecamp.org/u/armi2014)\
**Post date:** [October 10, 2016, 12:53am UTC](https://forum.freecodecamp.org/t/button-trouble-on-portfolio-project/44059/3 "2016-10-10T00:53:38Z")

</div>

Hi.  
Based on your code. It seems you’re missing the target area. What I’m referring is your anchor link below is looking for an id “about” and you don’t have any part of the html with it.

`<a href="#about">About me</a>`

Try putting some id like the code below

`<p id="about"> Hi there! Welcome to my portfolio, ... </p>`

Hope this helps…

---

<div class="post-metadata">

**Author:** ![Pandafairies](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/pandafairies/32/16377_2.png) [@Pandafairies](https://forum.freecodecamp.org/u/Pandafairies)\
**Post date:** [October 12, 2016, 12:28am UTC](https://forum.freecodecamp.org/t/button-trouble-on-portfolio-project/44059/4 "2016-10-12T00:28:30Z")

</div>

thank you it did 🙂

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:04pm UTC](https://forum.freecodecamp.org/t/button-trouble-on-portfolio-project/44059/5 "2021-06-01T18:04:56Z")

</div>

Closed on June 1, 2021, 6:04pm UTC


