Hello all, I seem to be failing the last test. id=“profile-link”. I cant seem to figure out why I’m failing. Appreciate your help in advance. Here is a link to it: https://codepen.io/racuna/pen/eLRREM
just a typo. you have target="blank"
instead of target="_blank"
Ah yes! thank you. after staring at it for so long I couldn’t see the typo. Thanks!
I am having the same issue. Can you take a look and help me figure out why test is failing to pass even though I have the link.
my codepen: https://codepen.io/dominick_designs_websites/pen/Zmbrqz
this is code I have:
<a href="https://www.freecodecamp.org/nimaipandit" id="profile-link" target="_blank" class="flex-header"> See my Free Code Camp Profile</a>
Nimaipandit, the test says
My portfolio should have a link with an id of “profile-link”, which opens my GitHub or FCC profile in a new tab.
ID’s are unique and can only be assigned to one element. You seem to have the ID of ‘profile-link’ in all your links. Try removing the id=“profile-link” in the other elements and only allow either the GitHub of freeCodeCamp link to have the aforementioned ID. You can have multiple elements with the same class but not with the same ID.
I have tried the above method for your project and it passes. Hope this helps.
thank you! This worked! And you helped me to understand more clearly that ID’s should only be used once; while class can be used throughout.