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:
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 so far
<meta charset="utf-8" />
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/22.214.171.124 Safari/537.36
Challenge: Learn Basic CSS by Building a Cafe Menu - Step 12
Link to the challenge:
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
I tried yet it did not work I think I did something wrong. Restarting didn’t solve the problem.
You reset the challenge and then pasted this in between the style tags?
You can edit your post, and click on the gear icon on the right side of the edit box, and it will give you a blur option
but thats weird its not working. The code is correct
Maybe my browser extensions are causing the issue yet I highly doubt it.
Some browsers do cause issues with challenges. Which one are you using?
Your code passes for me.
- Try turning off any web browser extensions.
- Try another web browser.
- Make sure your web browser is up to date.
To be honest, I have never heard of that one. I mean it could be what is causing the issue. I usually suggest people use chrome
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.