From 3c6b7cef3214e77f54350d95295c306594db4c2b Mon Sep 17 00:00:00 2001 From: camperbot Date: Wed, 14 Apr 2021 22:28:02 +0900 Subject: [PATCH] chore(i18n,curriculum): processed translations (#41821) --- .../jquery/clone-an-element-using-jquery.md | 22 ++++++++++--------- .../jquery/delete-your-jquery-functions.md | 16 +++++++------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/curriculum/challenges/espanol/03-front-end-libraries/jquery/clone-an-element-using-jquery.md b/curriculum/challenges/espanol/03-front-end-libraries/jquery/clone-an-element-using-jquery.md index 73307848d4..e0b0cd6bae 100644 --- a/curriculum/challenges/espanol/03-front-end-libraries/jquery/clone-an-element-using-jquery.md +++ b/curriculum/challenges/espanol/03-front-end-libraries/jquery/clone-an-element-using-jquery.md @@ -1,6 +1,6 @@ --- id: bad87fee1348bd9aed508826 -title: Clone an Element Using jQuery +title: Clona un elemento usando jQuery challengeType: 6 forumTopicId: 16780 dashedName: clone-an-element-using-jquery @@ -8,33 +8,35 @@ dashedName: clone-an-element-using-jquery # --description-- -In addition to moving elements, you can also copy them from one place to another. +Además de mover elementos, también puedes copiarlos de un lugar a otro. -jQuery has a function called `clone()` that makes a copy of an element. +jQuery tiene una función llamada `clone()` que hace una copia de un elemento. -For example, if we wanted to copy `target2` from our `left-well` to our `right-well`, we would use: +Por ejemplo, si quisiéramos copìar `target2` de nuestro `left-well` a nuestro `right-well`, usaríamos: -`$("#target2").clone().appendTo("#right-well");` +```js +$("#target2").clone().appendTo("#right-well"); +``` -Did you notice this involves sticking two jQuery functions together? This is called function chaining and it's a convenient way to get things done with jQuery. +¿Notaste que esto implica usar dos funciones jQuery juntas? Esto es llamado function chaining (encadenamiento de funciones) y es una forma conveniente de hacer cosas con jQuery. -Clone your `target5` element and append it to your `left-well`. +Clona tu elemento `target5` y añadelo a tu `left-well`. # --hints-- -Your `target5` element should be inside your `right-well`. +Tu elemento `target5` debe estar dentro de `right-well`. ```js assert($('#right-well').children('#target5').length > 0); ``` -A copy of your `target5` element should also be inside your `left-well`. +Una copia de tu elemento `target5` también debe estar dentro de `left-well`. ```js assert($('#left-well').children('#target5').length > 0); ``` -You should only use jQuery to move these elements. +Sólo debes usar jQuery para mover estos elementos. ```js assert(!code.match(/class.*animated/g)); diff --git a/curriculum/challenges/espanol/03-front-end-libraries/jquery/delete-your-jquery-functions.md b/curriculum/challenges/espanol/03-front-end-libraries/jquery/delete-your-jquery-functions.md index b1ed6c05f2..b2ee468a89 100644 --- a/curriculum/challenges/espanol/03-front-end-libraries/jquery/delete-your-jquery-functions.md +++ b/curriculum/challenges/espanol/03-front-end-libraries/jquery/delete-your-jquery-functions.md @@ -1,6 +1,6 @@ --- id: bad87fee1348bd9aeda08726 -title: Delete Your jQuery Functions +title: Elimina tus funciones jQuery challengeType: 6 forumTopicId: 17561 required: @@ -11,37 +11,37 @@ dashedName: delete-your-jquery-functions # --description-- -These animations were cool at first, but now they're getting kind of distracting. +Estas animaciones fueron geniales al principio, pero ahora distraen un poco. -Delete all three of these jQuery functions from your `document ready function`, but leave your `document ready function` itself intact. +Elimina las tres funciones de jQuery dentro de tu `document ready function`, pero deja intacta tu función `document ready function` en sí. # --hints-- -All three of your jQuery functions should be deleted from your `document ready function`. +Las tres funciones de jQuery deben ser eliminadas de la función `document ready function`. ```js assert(code.match(/\{\s*\}\);/g)); ``` -You should leave your `script` element intact. +Debes dejar intacto tu elemento `script`. ```js assert(code.match(/