Step 33 of the topic "Learn accessability by building a Quiz" in the CSS part

I am stuck at Step 33 of the topic “Learn accessability by building a Quiz” in the CSS part:
This is the task:
To prevent unnecessary repetition, target the before pseudo-element of the p element, and give it a content property of Question # .
My current code:

p::before {

content: Question #;

}
The hint says:
You should use the p::before selector.
Can someone help me to identify the error?
Thank you in advance

Hello @Blazer2k22.

You should wrap your Question # with quotation marks, much like when you wrap font-family: names as you are passing in a string of text.

Hope that helped…

1 Like

Thanks a lot,it worked.
I just couldn’t figure out what to do from yesterday.

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