Error in CSS code

Hello,

the question was to make all h2 elements blue in color and using style block. I wrote what they needed, but there is an error that prevents continuing the tutorial.

Your code so far

<style>
h2 {color: blue;
}
</style>

<h2>CatPhotoApp</h2>


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36.

Challenge: Use CSS Selectors to Style Elements

Link to the challenge:

1 Like

Hi @Mohamd.Ser,
I double-checked, and your code is correct and passes all the tests on my side. Maybe see if there are any extensions enabled that might be causing difficulty.

Thanks,
Leonard

1 Like

Hi @leonardmohr,

you are right, this error was from enabling dark reader extension.

Thanks,
Mohamad.Ser

2 Likes

@Mohamd.Ser, perfect, glad it works now :slight_smile:

Leonard

1 Like