Learn Accessibility by Building a Quiz - Step 33

I keep getting this hint: " You should use the p::before selector." even after I used it. I looked at a tutorial too and he wrote the same code as me but it’s still not working.

p::before {
	content: "Question #"
}

Challenge: Learn Accessibility by Building a Quiz - Step 33

Link to the challenge:

you are missing some semi-colons…

Thanks for the reply! I added the semi-colon after “Question #” but it still shows the same error.

This is how my code looks like:

p::before {
content: “Question #”;
}

the double-quotes are not the expected double-quote characters.
Try cutting and pasting this instead: (you need to figure out how to get your keyboard to give you regular double quotes instead of the curly ones)

content: "Question #";

My bad I meant my code looked like this:

p::before {
	content: "Question #";
}

It’s the regular quotes but it still doesn’t work for some reason

I was having the same error.
Maybe this is a bug on the site.
Finally I found that the closing bracket “}” on the previous CSS rule was missing.
Hopefully this is not a bug and it was our mistake deleting it accidentally.
Happy coding!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.