chore(i18n,learn): processed translations (#44750)

This commit is contained in:
camperbot
2022-01-11 22:27:22 +05:30
committed by GitHub
parent 43f970aa3f
commit b7496d96dd
14 changed files with 62 additions and 62 deletions

View File

@@ -26,22 +26,22 @@ Aquí hay un ejemplo:
Tu código debe tener un elemento `p` que incluya el texto `Thank you to everyone for responding to Master Camper Cat's survey.` e incluya un elemento `time`.
```js
assert(timeElement.length);
assert(timeElement);
```
Las etiquetas `time` añadidas deben envolver el texto `Thursday, September 15<sup>th</sup>`.
```js
assert(
timeElement.length &&
$(timeElement).html().trim() === 'Thursday, September 15<sup>th</sup>'
timeElement &&
timeElement?.innerHTML?.trim() === 'Thursday, September 15<sup>th</sup>'
);
```
Tu etiqueta `time` agregada debe tener un atributo `datetime` que no esté vacío.
```js
assert(datetimeAttr && datetimeAttr.length);
assert(datetimeAttr && datetimeAttr?.length);
```
Tu atributo `datetime` agregado debe establecerse en un valor de `2016-09-15`.
@@ -56,10 +56,10 @@ assert(datetimeAttr === '2016-09-15');
```html
<script>
const pElement = $("article > p")
.filter((_, elem) => $(elem).text().includes("Thank you to everyone for responding to Master Camper Cat's survey."));
const timeElement = pElement[0] ? $(pElement[0]).find("time") : null;
const datetimeAttr = $(timeElement).attr("datetime");
const pElement = [...document.querySelectorAll("article > p")]
.filter(x => x?.textContent?.includes("Thank you to everyone for responding to Master Camper Cat's survey."));
const timeElement = pElement[0] ? pElement[0].querySelector("time") : null;
const datetimeAttr = timeElement?.getAttribute("datetime");
</script>
```

View File

@@ -25,7 +25,7 @@ Cuando los usuarios hagan clic en el enlace `Contacts`, serán llevados a la sec
# --instructions--
Cambia tu enlace externo a un enlace interno cambiando el atributo `href` a `"#footer"` y el texto de `cat photos` a `Jump to Bottom`.
Cambia tu enlace externo a un enlace interno cambiando el atributo `href` a `#footer` y el texto de `cat photos` a `Jump to Bottom`.
Elimina el atributo `target="_blank"` de la etiqueta anchor ya que esto provoca que el documento enlazado se abra en una nueva pestaña.

View File

@@ -25,7 +25,7 @@ NO incluyas comillas (individuales o dobles) en el resultado.
# --hints--
La secuencia de cartas 2, 3, 4, 5, 6 debe devolver `5 Bet`
La secuencia de cartas 2, 3, 4, 5, 6 debe devolver la cadena `5 Bet`
```js
assert(

View File

@@ -89,7 +89,7 @@ assert(
const bookList = ["The Hound of the Baskervilles", "On The Electrodynamics of Moving Bodies", "Philosophiæ Naturalis Principia Mathematica", "Disquisitiones Arithmeticae"];
// Change code below this line
function add (bookName) {
function add(bookName) {
bookList.push(bookName);
return bookList;
@@ -98,7 +98,7 @@ function add (bookName) {
}
// Change code below this line
function remove (bookName) {
function remove(bookName) {
const book_index = bookList.indexOf(bookName);
if (book_index >= 0) {