Style element help

help i dont understand
Step 12

You can add style to an element by specifying it in the style element and setting a property for it like this:

element {
 property: value;
}

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

You need to add a style element for you h1 element on your style sheet.

Inside the box is an example showing the basic syntax for all the style elements.

¡Have fun!

h1 { property: center; }

Test

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

Hint

Your text-align property should have a value of center.

sorry im not english

Si hablas español mejor xD, necesitas añadir en tu hoja de estilos una sección que de estilo a tus elementos h1.

En la caja aparece el ejemplo de sintaxis de como se agregan los elementos de estilo, lo unico que tienes que hacer es cambiar los elementos por lo que te pide el paso.

Más adelante te dejo el código tal cual con un blur por si te interesa solo ver como se hace, pero te recomiendo que experimentes e indagues en internet para que se que grabe mejor la información:

h1 {
text-align: center;
}

1 Like

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

h1 { text-align:center; }
2 Likes

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