Step 16 of the Registration Form

The rem unit stands for root em, and is relative to the font size of the html element.

As label elements are inline by default, they are all displayed side by side on the same line, making their text hard to read. To make them appear on separate lines, add display: block to the label element, and add a margin of 0.5rem 0, to separate them from each other.

My Answer: .label { display: block;
margin: 0.5rem 0;
}

Should I be using .label{} or

the label element should be the one you create a selector for
not the elements whose class is label
(don’t use a dot in front of the selector name to select the element by its name)

Thank You! I got it to work now. :slightly_smiling_face:

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