Made some fixes on the translation of style-the-html-body-element.spanish.md (#27577)

* Changed back to english the CSS code of style-the-html-body-element.spanish.md and made translation corrections

* Additional translation fixes on style-the-html-body-element.spanish.md

Noticed some more things to fix just after I made the first commit, sorry!
pull/27585/head^2
Sebastian Alcantara 2019-03-11 16:23:35 -03:00 committed by Jaka Kranjc
parent 7086ed7007
commit 54bcc6b0ce
1 changed files with 6 additions and 7 deletions

View File

@ -3,25 +3,24 @@ id: bad87fee1348bd9aedf08736
title: Style the HTML Body Element title: Style the HTML Body Element
challengeType: 0 challengeType: 0
videoUrl: '' videoUrl: ''
localeTitle: Estilo del elemento HTML del cuerpo localeTitle: Dele estilo al elemento Body del HTML
--- ---
## Descripción ## Descripción
<section id="description"> Ahora comencemos de nuevo y hablemos de la herencia CSS. Cada página HTML tiene un elemento de <code>body</code> . </section> <section id="description"> Ahora comencemos de nuevo y hablemos de la herencia CSS. Cada página HTML tiene un elemento <code>body</code> . </section>
## Instrucciones ## Instrucciones
<section id="instructions"> Podemos probar que el elemento del <code>body</code> existe aquí dándole un <code>background-color</code> de <code>background-color</code> de negro. Podemos hacer esto agregando lo siguiente a nuestro elemento de <code>style</code> : <blockquote> cuerpo { <br> color de fondo: negro; <br> } </blockquote></section>
======= <section id="instructions"> Podemos probar que el elemento <code>body</code> existe aquí dándole un <code>background-color</code> de color negro. Podemos hacer esto agregando lo siguiente a nuestro elemento <code>style</code> : <blockquote> body { <br> background-color: black; <br> } </blockquote></section>
## Pruebas ## Pruebas
<section id='tests'> <section id='tests'>
```yml ```yml
tests: tests:
- text: Dale a tu elemento del <code>body</code> el <code>background-color</code> de <code>background-color</code> del negro. - text: Dale a tu elemento <code>body</code> el <code>background-color</code> <code>background-color</code> negro.
testString: 'assert($("body").css("background-color") === "rgb(0, 0, 0)", "Give your <code>body</code> element the <code>background-color</code> of black.");' testString: 'assert($("body").css("background-color") === "rgb(0, 0, 0)", "Give your <code>body</code> element the <code>background-color</code> 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(/<style>\s*body\s*\{\s*background.*\s*:\s*.*;\s*\}\s*<\/style>/i), "Make sure your CSS rule is properly formatted with both opening and closing curly brackets.");' testString: 'assert(code.match(/<style>\s*body\s*\{\s*background.*\s*:\s*.*;\s*\}\s*<\/style>/i), "Make sure your CSS rule is properly formatted with both opening and closing curly brackets.");'
- text: Asegúrese de que su regla de CSS termina con un punto y coma. - text: Asegúrese de que su regla de CSS termina con un punto y coma.
testString: 'assert(code.match(/<style>\s*body\s*\{\s*background.*\s*:\s*.*;\s*\}\s*<\/style>/i), "Make sure your CSS rule ends with a semi-colon.");' testString: 'assert(code.match(/<style>\s*body\s*\{\s*background.*\s*:\s*.*;\s*\}\s*<\/style>/i), "Make sure your CSS rule ends with a semi-colon.");'