I'm failing one test for Personal Portfolio

Once again, and went and checked my HTML and CSS multiple times and I can’t see what I’m missing. I could use some help. Here is my CodePen for it: https://codepen.io/jim-kernicky/pen/wvdaRBX

Hey! You’re missing the id=“profile-link” on your a tag at the end of your page :slightly_smiling_face:

I used to using classes - changed it and it’s good now - thanks!

But I thought you are only supposed to use an ID once. I have 5 links in that section.

You’re correct, an id must be unique within the document.
Run your HTML code through the W3C validator.

  • Since copy/paste from codepen you can ignore the first warning and first two errors.

The user story says My portfolio should have a link with an id of profile-link, which opens my GitHub or FCC profile in a new tab
Notice the or.
You can have all those links in there but they should not have the same id.
Can you assign a class to all of them and an id to just the one?

I was thinking of doing that - thanks!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.