CSS style element

As you guys can see, the code is correct(I hope)but I still get the same error over and over again.
Can anyone lend me a hand?


Hi and welcome to the forum!

Please paste in your actual code instead of a screenshot.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Appreciate it man. But that code worked Idk how but I refreshed it and the site just accepted the code. Anyway thanks for the quick reply.


Though, it looks like you are working on a CSS challenge but are using a dark mode extension. Any browser extensions that change your CSS, such as a dark mode extension, interfere with the test suite.

You should instead use the native dark mode on freeCodeCamp when doing CSS challenges.

1 Like

It is just a theme in firefox but okay sure I will change it ASAP.