I can't pass the 12 step,sombody can help me?

      element { 
       property: value;


Sorry, your code does not pass. You’re getting there.


You should have an h1 selector in your style element.
I type

element { property: value; }

Typing above,but also can't pass???

Please link to the challenge or at least let us know which challenge it is when asking for help.

The code example is just showing the syntax with placeholder names corresponding to what each part of the style rule is called. The element, the property, and its value.


element {
  property: value;
p {
  color: red;

p is the element, color is the property, and red is the property value.

Center your h1 element by setting its text-align property to the value center .

h1 is the element, text-align is the property, and center is the property value.

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