Tell us what’s happening:
In the below code whenever I am running it is showing the following error message:
“> Your h2 element should be blue.”
If you look down in code it is already colored in blue but then too it is showing the above message again and again.
please look into the problem and tell me the solution.
thankyou.
You probably have a browser extension that changes your CSS, such as a dark mode extension. I recommend disabling your extensions that interfere with CSS on FCC and instead using the native dark mode that you can activate in the settings.
The above is the part of the code in which the error is coming.
I was learning the CSS topic from freecodecamp tutorial in which I was learning the following topic:
Basic CSS: Use CSS Selector to style elements.
When I started to solve the challenge it asked me to perform following in my code:
1>The style attribute should be removed from your h2 element.
2>You should create a style element.
3>Your h2 element should be blue.
4>Your stylesheet h2 declaration should be valid with a semicolon and closing brace.
5>All your style elements should be valid and have closing tags.
All the points got a correct tick except 3rd point. It got crossed and the error message was displayed
“your h2 elements should be blue”.
Although it is showing the h2 element blue in the displaying result area this cross is not going away.
Please help.
I hope this description of the whole problem would be helpful for you.
Yup i have a browser extension and as you advised me to disable it i have done it .
I also reset all my code and again typed the solution but still the same problem and the error message :
This sounds akward and might be possible that you think about me like"what a disgusting guy he is "
but truly i wanted to ask you how did you tackle out the solution.
could you please explain it a little briefly sir.Please
Sometimes browser settings get messed up a little bit. We’ve seen on the forum that the three things that tend to work whenever code that passes on one person’s browser doesn’t pass on someone else’s browser are
Turn off extensions
Incognito mode
Different browser
Incognito mode is sort of like a temporary browser reset that turns off all of the changes you have made for your personal preferences in your browser - it turns off extensions and resets some settings in your incognito tab. This usually fixes whatever little thing was confusing the FCC test suite.