diff --git a/curriculum/challenges/espanol/01-responsive-web-design/basic-html-and-html5/introduction-to-html5-elements.md b/curriculum/challenges/espanol/01-responsive-web-design/basic-html-and-html5/introduction-to-html5-elements.md index f8f954e21d..314a9ef835 100644 --- a/curriculum/challenges/espanol/01-responsive-web-design/basic-html-and-html5/introduction-to-html5-elements.md +++ b/curriculum/challenges/espanol/01-responsive-web-design/basic-html-and-html5/introduction-to-html5-elements.md @@ -26,7 +26,7 @@ Por ejemplo, un elemento `main` con dos elementos hijos anidados en su interior: # --instructions-- -Crea un segundo elemento `p` después del elemento `p` existente con el siguiente texto ipsum gatuno: `Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.` +Crea un segundo elemento `p` con el siguiente texto de gatito ipsum: `Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.` Luego, crea un elemento `main` y anida los dos elementos `p` dentro del elemento `main`. diff --git a/curriculum/challenges/espanol/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md b/curriculum/challenges/espanol/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md index b14cbc1057..972cc37338 100644 --- a/curriculum/challenges/espanol/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md +++ b/curriculum/challenges/espanol/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md @@ -13,7 +13,7 @@ Puedes anidar enlaces dentro de otros elementos de texto. ```html

- Here's a link to freecodecamp.org for you to follow. + Here's a link to freecodecamp.org for you to follow.

``` @@ -32,18 +32,18 @@ A continuación está el elemento *anchor* `` (que requiere una etiqueta de c `target` es un atributo de etiqueta anchor que especifica dónde abrir el enlace. El valor `_blank` especifica abrir el enlace en una nueva pestaña. El `href` es un atributo de etiqueta anchor que contiene la dirección URL del enlace: ```html - ... + ... ``` El texto, `link to freecodecamp.org`, dentro de un elemento `a` se llama anchor text, y mostrará el enlace para hacer clic: ```html -link to freecodecamp.org +link to freecodecamp.org ``` El resultado final del ejemplo se verá así: -Aquí hay un enlace [a freecodecamp.org](http://freecodecamp.org) para que lo sigas. +Aquí hay un enlace a freecodecamp.org para que lo sigas. # --instructions-- @@ -59,11 +59,11 @@ assert( ); ``` -El elemento `a` debe enlazar a "`https://freecatphotoapp.com`". +El elemento `a` debe enlazar a "`https://www.freecatphotoapp.com`". ```js assert( - $('a[href="https://freecatphotoapp.com"]').length === 1 + $('a[href="https://www.freecatphotoapp.com"]').length === 1 ); ``` @@ -87,7 +87,7 @@ Tu elemento `a` debe ser anidado dentro de tu nuevo elemento `p`. ```js assert( - $('a[href="https://freecatphotoapp.com"]').parent().is('p') + $('a[href="https://www.freecatphotoapp.com"]').parent().is('p') ); ``` @@ -95,7 +95,7 @@ El elemento `p` debe contener el texto `View more` (con un espacio después de ```js assert( - $('a[href="https://freecatphotoapp.com"]') + $('a[href="https://www.freecatphotoapp.com"]') .parent() .text() .match(/View\smore\s/gi) @@ -140,7 +140,7 @@ assert(

CatPhotoApp

- cat photos + cat photos A cute orange cat lying on its back. @@ -154,7 +154,7 @@ assert( ```html

CatPhotoApp

-

View more cat photos

+

View more cat photos

A cute orange cat lying on its back. diff --git a/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/telephone-number-validator.md b/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/telephone-number-validator.md index 3323dee223..7ed2d5d7a4 100644 --- a/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/telephone-number-validator.md +++ b/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/telephone-number-validator.md @@ -180,6 +180,12 @@ assert(telephoneCheck('(555-555-5555') === false); assert(telephoneCheck('(555)5(55?)-5555') === false); ``` +`telephoneCheck("55 55-55-555-5")` debe devolver `false`. + +```js +assert(telephoneCheck('55 55-55-555-5') === false); +``` + # --seed-- ## --seed-contents-- diff --git a/curriculum/challenges/espanol/03-front-end-libraries/jquery/learn-how-script-tags-and-document-ready-work.md b/curriculum/challenges/espanol/03-front-end-libraries/jquery/learn-how-script-tags-and-document-ready-work.md index 3835dfeca8..abe6c023d8 100644 --- a/curriculum/challenges/espanol/03-front-end-libraries/jquery/learn-how-script-tags-and-document-ready-work.md +++ b/curriculum/challenges/espanol/03-front-end-libraries/jquery/learn-how-script-tags-and-document-ready-work.md @@ -1,6 +1,6 @@ --- id: bad87fee1348bd9acdd08826 -title: Learn How Script Tags and Document Ready Work +title: Aprende como funciona la etiqueta script y la función "document ready" challengeType: 6 forumTopicId: 18224 dashedName: learn-how-script-tags-and-document-ready-work @@ -8,23 +8,23 @@ dashedName: learn-how-script-tags-and-document-ready-work # --description-- -Now we're ready to learn jQuery, the most popular JavaScript tool of all time. +Ahora estamos listos para aprender jQuery, la herramienta de JavaScript más popular de todos los tiempos. -Before we can start using jQuery, we need to add some things to our HTML. +Antes de empezar a usar jQuery, necesitamos añadir algunas cosas a nuestro HTML. -First, add a `script` element at the top of your page. Be sure to close it on the following line. +Primero, añade un elemento `script` en la parte superior de tu página. Asegúrate de cerrarlo en la siguiente línea. -Your browser will run any JavaScript inside a `script` element, including jQuery. +Tu navegador ejecutará cualquier JavaScript dentro de un elemento `script`, incluyendo jQuery. -Inside your `script` element, add this code: `$(document).ready(function() {` to your `script`. Then close it on the following line (still inside your `script` element) with: `});` +Dentro de tu elemento `script`, añade este código: `$(document).ready(function() {` a tu `script`. Luego ciérralo en la siguiente línea (todavía dentro de tu elemento `script`) con: `});` -We'll learn more about `functions` later. The important thing to know is that code you put inside this `function` will run as soon as your browser has loaded your page. +Aprenderemos más sobre `functions` más tarde. Lo importante a saber es que el código que pongas dentro de esta `function` (función) se ejecutará tan pronto como tu navegador haya cargado tu página. -This is important because without your `document ready function`, your code may run before your HTML is rendered, which would cause bugs. +Esto es importante porque sin tu `document ready function`, tu código podría ejecutarse antes de que se procese tu HTML, lo que causaría errores. # --hints-- -You should create a `script` element making sure it is valid and has a closing tag. +Debes crear un elemento `script` asegurándote de que sea válido y tenga una etiqueta de cierre. ```js assert( @@ -39,7 +39,7 @@ assert( ); ``` -You should add `$(document).ready(function() {` to the beginning of your `script` element. +Debes añadir `$(document).ready(function() {` al principio de tu elemento `script`. ```js assert( @@ -49,7 +49,7 @@ assert( ); ``` -You should close your `$(document).ready(function() {` function with `});` +Debes cerrar tu función `$(document).ready(function() {` con `});` ```js assert(code.match(/\n*?\s*?\}\s*?\);/g));