Build a tribute page #image problems

Hi everyone,

I was wondering if I can get some help regarding the fulfilment of the user stories?
For some reason the test won’t pass my code because it doesn’t recognise my #image selector. I have ran my eyes over it over and over again, tested it for validity in codepen and there were no errors whatsoever.

Please see the screenshot below:

Capture

Here is a link to my code:

Any help would be much appreciated!

You forgot to link the css file to your index file.

1 Like

As pointed out by @tioung you must have forgot to link the css to the html file.
Codepen automatically links the css for you.
You can link the css file by using the link element.
Sample usage of link element :

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

You have to use the filename of styles.css, because the freecodecamp css file name is styles.css

1 Like

Ahh, so that’s why it’s not recognising it! Thanks a lot for the help guys, appreciate it.

1 Like

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