chore(i18n,curriculum): processed translations (#41821)

This commit is contained in:
camperbot
2021-04-14 22:28:02 +09:00
committed by GitHub
parent a50650ad19
commit 3c6b7cef32
2 changed files with 20 additions and 18 deletions

View File

@ -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 <dfn>function chaining</dfn> and it's a convenient way to get things done with jQuery.
¿Notaste que esto implica usar dos funciones jQuery juntas? Esto es llamado <dfn>function chaining</dfn> (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));

View File

@ -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(/<script>/g));
```
You should leave your `$(document).ready(function() {` at the beginning of your `script` element.
Debes dejar tu `$(document).ready(function() {` al principio de tu elemento `script`.
```js
assert(code.match(/\$\(document\)\.ready\(function\(\)\s?\{/g));
```
You should leave your "document ready function" closing `})` intact.
Debes dejar intacto el cierre `})` de la función `document.ready`.
```js
assert(code.match(/.*\s*\}\);/g));
```
You should leave your `script` element closing tag intact.
Debes dejar intacta la etiqueta de cierre del elemento `script`.
```js
assert(