<link rel="stylesheet" type="text/css" href="styles.css"/>

I got the following message for the above code

Sorry, your code does not pass. Hang in there.


You should have one self-closing link element.

Please help with this

I do not know exactly error in this situation. Because I cannot see the error in your code. You can remove / symbol and hit the button Check your code again. Or refresh your page again.

I did below 2
remove / symbol and hit the button Check your code again. Or refresh your page again
but the error is the same

Hmm. It is weird. I run code the same as yours but it’s OK. Do you try to remove type=“text/css”?

Yes I remove type=“text/css" run but same

Can you give me your link? I would check this.


I tried it on your web which you gave me. The result is the same as yours. I do not know the reason why. So I sent the support to TopCoder.

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

1 Like

I try all and different browser but results is same
I would try different machine and let you know

I try different machine still the same error coming
Can’t I move forward to complete the course

Please do the needfull

Just skip the step and move to the next one.

Thanks, It’s a good idea

I just want to say it’s the end of April and this issue is still not fixed. It’s safe to say this is a bug.

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