diff --git a/curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/add-a-submit-button-to-a-form.spanish.md b/curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/add-a-submit-button-to-a-form.spanish.md index 1325216b76..7a62738ebd 100644 --- a/curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/add-a-submit-button-to-a-form.spanish.md +++ b/curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/add-a-submit-button-to-a-form.spanish.md @@ -7,10 +7,10 @@ localeTitle: Agregar un botón de envío a un formulario --- ## Description -
Agreguemos un botón de submit a su formulario. Al hacer clic en este botón, los datos de su formulario se enviarán a la URL que especificó con el atributo de action su formulario. Aquí hay un ejemplo de botón de envío: <button type="submit">this button submits the form</button>
+
Agreguemos un botón submit a su formulario. Al hacer clic en este botón, los datos de su formulario se enviarán a la URL que especificó con el atributo action de su formulario. Aquí hay un ejemplo de botón submit: <button type="submit">this button submits the form</button>
## Instructions -
Agregue un botón como el último elemento de su elemento de form con un tipo de submit y "Enviar" como texto.
+
Agregue un botón tipo submit con "Submit" como su texto, como el último elemento de su elemento form.
## Tests
@@ -19,11 +19,11 @@ localeTitle: Agregar un botón de envío a un formulario tests: - text: Su formulario debe tener un botón en su interior. testString: 'assert($("form").children("button").length > 0, "Your form should have a button inside it.");' - - text: Su botón de envío debe tener el type atributo establecido para submit . + - text: Su botón de envío debe tener el atributo type establecido para submit . testString: 'assert($("button").attr("type") === "submit", "Your submit button should have the attribute type set to submit.");' - - text: Su botón de enviar solo debe tener el texto "Enviar". + - text: Su botón de enviar solo debe tener el texto "Submit". testString: 'assert($("button").text().match(/^\s*submit\s*$/gi), "Your submit button should only have the text "Submit".");' - - text: Asegúrese de que el elemento de su button tenga una etiqueta de cierre. + - text: Asegúrese de que su elemento button tenga una etiqueta de cierre. testString: 'assert(code.match(/<\/button>/g) && code.match(/