Tell us what’s happening:
The step is asking me to create new type selectors for h2 and p by adding new type selector for each one to the existing style element.
I have tried to code it like this:
h1,h2,p {
text-align: center;
}
yet it tells me to not change the existing h1 selector.
So I tried with to code it like the one currently shown yet this time it tells me that I should not add a new style tag and apply the new CSS rules to the existing style tag. I’m lost at this point I couldn’t figure it out.
Your code is correct. Try resetting the challenge, and just paste the h1, h2, and p inside of the style tags they give you and see if that works. That’s what I did with your code, and it passes. May just need a reset
The code you initially tried would be correct as well, but it fails because the challenge is looking for the specific selectors to be separate. That would completely work outside of this challenge
Thanks for the fast response I fixed the issue by disabling Dark Reader extension.
I think because it changes the color of the site it also changes the style of it? I don’t really know but it is fixed now.