Learn Accessibility by Building a Quiz - Step 48

Tell us what’s happening:
hi there i am struggling to understand what is a main selector is and i am not to sure what else to do with my code please help

Your code so far
h1 {
color: #f1be32;
font-size: min(5vw, 1.2em);
text-align: center
}
h2{
padding: 50px
}
WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

Challenge: Learn Accessibility by Building a Quiz - Step 48

Link to the challenge:

Just like you have an h1 element in your HTML, you also have a main element in your HTML (it is right after the header element). Do you remember that in a previous step you added it? So just like you would target the h1 element in CSS, you would do the same thing to target the main element in CSS.

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