Hi FCC friends,
My first attempt at building personal profile page so I am doing everything pretty basic.
I am trying to complete User Story #8: My portfolio should have a link with an id of profile-link
, which opens my GitHub or FCC profile in a new tab.
However my profile link keeps opening up one of my projects link.
Can someone help review my code and tell me where I am going wrong?
https://codepen.io/daryllzj/pen/LYRXQpg
I would like it to go to this link https://codepen.io/daryllzj instead.
Any assistance will be much appreciated. Thank you.
padunk
January 16, 2021, 9:14am
2
You have wrong placement for that id
<section id="profile-link">
<h1> View my profile </h1>
<a href="https://codepen.io/daryllzj"
target="blank"
class="project-link">
</section>
</div>
id=profile-link should be on the anchor <a>
tag.
and you missed the closing tag for anchor </a>
Inside it, you can give a text too.
One more thing, add prop target='_blank'
to the anchor tag.
Thank you so much padunk! My code is working now.
Really grateful for this community and people like yourself. Wishing you a great 2021 ahead!
1 Like
system
Closed
July 17, 2021, 9:31pm
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.