From 7024a9b08d88d74c4ae4321839af8d11da0219ab Mon Sep 17 00:00:00 2001 From: chaufon Date: Thu, 14 Mar 2019 11:14:08 -0500 Subject: [PATCH] Fix some text to pass the test (#33183) Added some changes in order to help spanish-speaking people to understand this translation. --- .../add-placeholder-text-to-a-text-field.spanish.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field.spanish.md b/curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field.spanish.md index b6499ba3c9..4b36f80c55 100644 --- a/curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field.spanish.md +++ b/curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field.spanish.md @@ -7,21 +7,20 @@ localeTitle: Añadir texto de marcador de posición a un campo de texto --- ## Description -
El texto de marcador de posición es lo que se muestra en su elemento de input antes de que su usuario haya ingresado algo. Puede crear texto de marcador de posición de la siguiente forma: <input type="text" placeholder="this is placeholder text">
+
El texto de marcador de posición (placeholder ) es lo que se muestra en su elemento input antes de que su usuario haya ingresado algo. Puede crear texto de marcador de posición de la siguiente manera: <input type="text" placeholder="this is placeholder text">
-## Instructions -
Establezca el valor de placeholder de su input texto en "URL de foto de gato".
+
Establezca el valor del placeholder de su elemento input texto en "URL de foto de gato".
## Tests
```yml tests: - - text: Agregue un atributo de placeholder al elemento de input texto existente. + - text: Agregue un atributo placeholder al elemento input existente. testString: 'assert($("input[placeholder]").length > 0, "Add a placeholder attribute to the existing text input element.");' - - text: Establezca el valor de su atributo de marcador de posición en "URL de foto de gato". + - text: Establezca el valor de su atributo placeholder en "cat photo URL". testString: 'assert($("input") && $("input").attr("placeholder") && $("input").attr("placeholder").match(/cat\s+photo\s+URL/gi), "Set the value of your placeholder attribute to "cat photo URL".");' - - text: El elemento de input terminado debe tener una sintaxis válida. + - text: El elemento input completado debe tener una sintaxis válida. testString: 'assert($("input[type=text]").length > 0 && code.match(/\s]+))?)+\s*|\s*)\/?>/gi), "The finished input element should have valid syntax.");' ```