Learn Accessibility by Building a Quiz - Step 34

Tell us what’s happening:

can you solve this?
To prevent unnecessary repetition, target the before pseudo-element of the p element, and give it a content property of “Question #”.
I’ve been trying…

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

  border-bottom: 4px solid #dfdfe2;

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

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

Learn Accessibility by Building a Quiz - Step 34

before your selector there is a floating rule. You may be missing a closing parenthesis

1 Like