chore(i18n,learn): processed translations (#44750)
This commit is contained in:
@ -26,22 +26,22 @@ Camper Cat 格鬥的調查結果出來了! 用 `time` 標籤包裹文本 `Thur
|
||||
應存在一個 `time` 元素和一個內容文本爲 `Thank you to everyone for responding to Master Camper Cat's survey.` 的 `p` 元素。
|
||||
|
||||
```js
|
||||
assert(timeElement.length);
|
||||
assert(timeElement);
|
||||
```
|
||||
|
||||
`time` 元素的內容文本應爲 `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>'
|
||||
);
|
||||
```
|
||||
|
||||
`time` 元素應包含非空的 `datetime` 屬性。
|
||||
|
||||
```js
|
||||
assert(datetimeAttr && datetimeAttr.length);
|
||||
assert(datetimeAttr && datetimeAttr?.length);
|
||||
```
|
||||
|
||||
`datetime` 的屬性值應爲 `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>
|
||||
```
|
||||
|
||||
|
@ -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) {
|
||||
|
||||
|
@ -26,22 +26,22 @@ Camper Cat 格斗的调查结果出来了! 用 `time` 标签包裹文本 `Thur
|
||||
应存在一个 `time` 元素和一个内容文本为 `Thank you to everyone for responding to Master Camper Cat's survey.` 的 `p` 元素。
|
||||
|
||||
```js
|
||||
assert(timeElement.length);
|
||||
assert(timeElement);
|
||||
```
|
||||
|
||||
`time` 元素的内容文本应为 `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>'
|
||||
);
|
||||
```
|
||||
|
||||
`time` 元素应包含非空的 `datetime` 属性。
|
||||
|
||||
```js
|
||||
assert(datetimeAttr && datetimeAttr.length);
|
||||
assert(datetimeAttr && datetimeAttr?.length);
|
||||
```
|
||||
|
||||
`datetime` 的属性值应为 `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>
|
||||
```
|
||||
|
||||
|
@ -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) {
|
||||
|
||||
|
@ -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>
|
||||
```
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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(
|
||||
|
@ -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) {
|
||||
|
||||
|
@ -26,22 +26,22 @@ I risultati del sondaggio di Camper Cat sul torneo di Mortal Kombat sono arrivat
|
||||
Il tuo codice dovrebbe avere un elemento `p` che include il testo `Thank you to everyone for responding to Master Camper Cat's survey.` e che abbia un elemento `time`.
|
||||
|
||||
```js
|
||||
assert(timeElement.length);
|
||||
assert(timeElement);
|
||||
```
|
||||
|
||||
I tuoi tag `time` aggiuntivi dovrebbero avvolgere il testo `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>'
|
||||
);
|
||||
```
|
||||
|
||||
Il tuo tag `time` dovrebbe avere un attributo `datetime` non vuoto.
|
||||
|
||||
```js
|
||||
assert(datetimeAttr && datetimeAttr.length);
|
||||
assert(datetimeAttr && datetimeAttr?.length);
|
||||
```
|
||||
|
||||
Il tuo attributo `datetime` dovrebbe essere impostato sul valore `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>
|
||||
```
|
||||
|
||||
|
@ -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) {
|
||||
|
||||
|
@ -26,22 +26,22 @@ Os resultados da pesquisa do jogo Mortal Kombat do Camper Cat chegaram! Envolva
|
||||
O código deve ter um elemento `p` que inclui o texto `Thank you to everyone for responding to Master Camper Cat's survey.` e inclua um elemento `time`.
|
||||
|
||||
```js
|
||||
assert(timeElement.length);
|
||||
assert(timeElement);
|
||||
```
|
||||
|
||||
A tag `time` que você adicionou deve estar ao redor do 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>'
|
||||
);
|
||||
```
|
||||
|
||||
A tag `time` que você adicionou deve ter um atributo `datetime` que não pode estar vazio.
|
||||
|
||||
```js
|
||||
assert(datetimeAttr && datetimeAttr.length);
|
||||
assert(datetimeAttr && datetimeAttr?.length);
|
||||
```
|
||||
|
||||
O atributo `datetime` adicionado deve ser um conjunto de valores no formato `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>
|
||||
```
|
||||
|
||||
|
@ -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) {
|
||||
|
||||
|
@ -26,22 +26,22 @@ dashedName: standardize-times-with-the-html5-datetime-attribute
|
||||
Ваш код має містити елемент `p`, що включає текст `Thank you to everyone for responding to Master Camper Cat's survey.` і елемент `time`.
|
||||
|
||||
```js
|
||||
assert(timeElement.length);
|
||||
assert(timeElement);
|
||||
```
|
||||
|
||||
Додані теґи `time` мають обгортати текст `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>'
|
||||
);
|
||||
```
|
||||
|
||||
Доданий теґ `time` має містити атрибут `datetime`, який не є порожнім.
|
||||
|
||||
```js
|
||||
assert(datetimeAttr && datetimeAttr.length);
|
||||
assert(datetimeAttr && datetimeAttr?.length);
|
||||
```
|
||||
|
||||
Доданий атрибут `datetime` має бути встановленим на значення `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>
|
||||
```
|
||||
|
||||
|
@ -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) {
|
||||
|
||||
|
Reference in New Issue
Block a user