diff --git a/curriculum/challenges/spanish/01-responsive-web-design/basic-css/style-the-html-body-element.spanish.md b/curriculum/challenges/spanish/01-responsive-web-design/basic-css/style-the-html-body-element.spanish.md index e1fd953535..a2035232c2 100644 --- a/curriculum/challenges/spanish/01-responsive-web-design/basic-css/style-the-html-body-element.spanish.md +++ b/curriculum/challenges/spanish/01-responsive-web-design/basic-css/style-the-html-body-element.spanish.md @@ -3,25 +3,24 @@ id: bad87fee1348bd9aedf08736 title: Style the HTML Body Element challengeType: 0 videoUrl: '' -localeTitle: Estilo del elemento HTML del cuerpo +localeTitle: Dele estilo al elemento Body del HTML --- ## Descripción -
Ahora comencemos de nuevo y hablemos de la herencia CSS. Cada página HTML tiene un elemento de body .
- +
Ahora comencemos de nuevo y hablemos de la herencia CSS. Cada página HTML tiene un elemento body .
## Instrucciones -
Podemos probar que el elemento del body existe aquí dándole un background-color de background-color de negro. Podemos hacer esto agregando lo siguiente a nuestro elemento de style :
cuerpo {
color de fondo: negro;
}
-======= + +
Podemos probar que el elemento body existe aquí dándole un background-color de color negro. Podemos hacer esto agregando lo siguiente a nuestro elemento style :
body {
background-color: black;
}
## Pruebas
```yml tests: - - text: Dale a tu elemento del body el background-color de background-color del negro. + - text: Dale a tu elemento body el background-color background-color negro. testString: 'assert($("body").css("background-color") === "rgb(0, 0, 0)", "Give your body element the background-color of black.");' - - text: Asegúrese de que su regla de CSS tenga el formato correcto para abrir y cerrar los corchetes. + - text: Asegúrese de que su regla de CSS tenga el formato correcto, con corchetes de apertura y cierre. testString: 'assert(code.match(/