From 602f720ecaffa686454e832a03e09df32d7bbcbf Mon Sep 17 00:00:00 2001 From: Jose Rodriguez Date: Thu, 7 Feb 2019 10:43:17 -0400 Subject: [PATCH] =?UTF-8?q?Cambios=20a=20la=20redacci=C3=B3n=20(#19648)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update add-rounded-corners-with-border-radius.spanish.md: tests section, enhanced redaction --- ...d-rounded-corners-with-border-radius.spanish.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/curriculum/challenges/spanish/01-responsive-web-design/basic-css/add-rounded-corners-with-border-radius.spanish.md b/curriculum/challenges/spanish/01-responsive-web-design/basic-css/add-rounded-corners-with-border-radius.spanish.md index 42bb2a07f7..0ac2e69155 100644 --- a/curriculum/challenges/spanish/01-responsive-web-design/basic-css/add-rounded-corners-with-border-radius.spanish.md +++ b/curriculum/challenges/spanish/01-responsive-web-design/basic-css/add-rounded-corners-with-border-radius.spanish.md @@ -10,18 +10,20 @@ localeTitle: Añadir esquinas redondeadas con radio de borde ## Descripción
Tu foto de gato tiene actualmente esquinas afiladas. Podemos redondear esas esquinas con una propiedad CSS llamada border-radius .
-## Instrucciones -
Puede especificar un border-radius con píxeles. Dale a tu foto de gato un border-radius de 10px de 10px . Nota: este desafío permite múltiples soluciones posibles. Por ejemplo, puede agregar border-radius .thick-green-border clase .thick-green-border o a la clase .smaller-image .
+ +## Instructions +
Puede especificar un border-radius con píxeles. Dale a tu foto de gato un border-radius de 10px. Nota: este desafío permite múltiples soluciones posibles. Por ejemplo, puede agregar un border-radius a la clase .thick-green-border o a la clase .smaller-image .
+ ## Pruebas
```yml tests: - - text: El elemento de su imagen debe tener la clase "borde verde grueso". - testString: 'assert($("img").hasClass("thick-green-border"), "Your image element should have the class "thick-green-border".");' - - text: Tu imagen debe tener un radio de 10px de 10px - testString: 'assert(parseInt($("img").css("border-top-left-radius")) > 8, "Your image should have a border radius of 10px");' + - text: El elemento de su imagen debería tener la clase "thick-green-border". + testString: 'assert($("img").hasClass("thick-green-border"), "El elemento de su imagen debería tener la clase "thick-green-border".");' + - text: Su imagen debería tener un radio de borde de 10px. + testString: 'assert(parseInt($("img").css("border-top-left-radius")) > 8, "Su imagen debería tener un radio de borde de 10px");' ```