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

This commit is contained in:
camperbot
2022-07-01 06:41:08 -07:00
committed by GitHub
parent 36032e1288
commit cd9d1fd082
31 changed files with 256 additions and 119 deletions

View File

@@ -16,7 +16,7 @@ dashedName: data-analysis-example-b
更多資源:
- [在 GitHub 平臺的 Notebooks](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example)
- <a href="https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example" target="_blank" rel="noopener noreferrer nofollow">在 GitHub 平臺的 Notebooks</a>
- <a href="https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb" target="_blank" rel="noopener noreferrer nofollow">如何使用 Google Colab 來打開 GitHub 上的 Notebooks</a>
# --question--

View File

@@ -16,7 +16,7 @@ dashedName: data-analysis-example-b
更多资源:
- [在 GitHub 平台的 Notebooks](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example)
- <a href="https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example" target="_blank" rel="noopener noreferrer nofollow">在 GitHub 平台的 Notebooks</a>
- <a href="https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb" target="_blank" rel="noopener noreferrer nofollow">如何使用 Google Colab 来打开 GitHub 上的 Notebooks</a>
# --question--

View File

@@ -16,7 +16,7 @@ dashedName: data-analysis-example-b
Más recursos:
- [Notebooks en GitHub](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example)
- <a href="https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example" target="_blank" rel="noopener noreferrer nofollow">Notebooks en GitHub</a>
- <a href="https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb" target="_blank" rel="noopener noreferrer nofollow">Cómo abrir Notebooks desde GitHub usando Google Colab.</a>
# --question--

View File

@@ -18,8 +18,10 @@ Ambos radio button aún deben estar ubicados entre las etiquetas de apertura y c
```js
const labelChildNodes = [...$('label')].map((node) => [...node.childNodes]);
assert(
labelChildNodes.filter((childNode) => childNode[0].nodeName === 'INPUT')
.length === 2
labelChildNodes.filter(
childNodes =>
childNodes.filter(node => node.nodeName === 'INPUT').length === 1
).length === 2
);
```

View File

@@ -16,7 +16,7 @@ dashedName: data-analysis-example-b
Altre risorse:
- [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example)
- <a href="https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example" target="_blank" rel="noopener noreferrer nofollow">Notebook su GitHub</a>
- <a href="https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb" target="_blank" rel="noopener noreferrer nofollow">Come aprire Notebooks da GitHub usando Google Colab.</a>
# --question--

View File

@@ -18,8 +18,10 @@ Entrambi i pulsanti di opzione dovrebbero essere ancora posizionati tra i tag di
```js
const labelChildNodes = [...$('label')].map((node) => [...node.childNodes]);
assert(
labelChildNodes.filter((childNode) => childNode[0].nodeName === 'INPUT')
.length === 2
labelChildNodes.filter(
childNodes =>
childNodes.filter(node => node.nodeName === 'INPUT').length === 1
).length === 2
);
```

View File

@@ -16,7 +16,7 @@ dashedName: data-analysis-example-b
その他のリソース:
- [GitHub のノート](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example)
- <a href="https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example" target="_blank" rel="noopener noreferrer nofollow">GitHub のノート</a>
- <a href="https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb" target="_blank" rel="noopener noreferrer nofollow">Google Colab を使用して GitHub からノートを開く方法</a>
# --question--

View File

@@ -16,7 +16,7 @@ dashedName: data-analysis-example-b
Mais recursos:
- [Notebooks no GitHub](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example)
- <a href="https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example" target="_blank" rel="noopener noreferrer nofollow">Notebooks no GitHub</a>
- <a href="https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb" target="_blank" rel="noopener noreferrer nofollow">Como abrir notebooks do GitHub usando o Google Colab.</a>
# --question--

View File

@@ -11,7 +11,7 @@ Agora, adicione a classe `bottom-line` ao segundo elemento `hr` para que o estil
# --hints--
Você deve aplicar a propriedade `class="bottom-line"`.
Você deve adicionar o atributo `class` com o valor `bottom-line`.
```js
assert(code.match(/class=('|")bottom-line\1/i));

View File

@@ -18,8 +18,10 @@ Os dois botões de opção ainda devem estar localizados entre as tags de abertu
```js
const labelChildNodes = [...$('label')].map((node) => [...node.childNodes]);
assert(
labelChildNodes.filter((childNode) => childNode[0].nodeName === 'INPUT')
.length === 2
labelChildNodes.filter(
childNodes =>
childNodes.filter(node => node.nodeName === 'INPUT').length === 1
).length === 2
);
```

View File

@@ -7,20 +7,14 @@ dashedName: step-41
# --description--
Para dar aos elementos `fieldset` um pouco de separação, selecione todos exceto o último elemento `fieldset`, e dê a eles uma `border-bottom` inferior de `3px solid #3b3b4f`.
Para dar aos elementos `fieldset` um pouco de separação, selecioná-los e dar a eles o atributo `border-bottom` de `3px solid #3b3b4f`.
# --hints--
Você pode usar a pseudoclasse `:not(:last-of-type)` para selecionar tudo menos o último elemento.
```js
assert.exists(new __helpers.CSSHelp(document).getStyle('fieldset:not(:last-of-type)'));
```
Você deve dar ao `fieldset` uma `border-bottom` de `3px solid #3b3b4f`.
```js
assert.equal(new __helpers.CSSHelp(document).getStyle('fieldset:not(:last-of-type)')?.borderBottom, '3px solid rgb(59, 59, 79)');
assert.equal(new __helpers.CSSHelp(document).getStyle('fieldset')?.borderBottom, '3px solid rgb(59, 59, 79)');
```
# --seed--
@@ -97,13 +91,11 @@ form {
margin: 0 auto;
}
--fcc-editable-region--
fieldset {
border: none;
padding: 2rem 0;
}
--fcc-editable-region--
--fcc-editable-region--
label {

View File

@@ -1,8 +1,8 @@
---
id: 60fadd972e6ffe0d6858fa2d
title: Passo 42
title: Passo 43
challengeType: 0
dashedName: step-42
dashedName: step-43
---
# --description--
@@ -132,11 +132,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60fadfa2b540b70dcfa8b771
title: Passo 43
title: Passo 44
challengeType: 0
dashedName: step-43
dashedName: step-44
---
# --description--
@@ -109,11 +109,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60fc219d333e37046f474a6e
title: Passo 44
title: Passo 45
challengeType: 0
dashedName: step-44
dashedName: step-45
---
# --description--
@@ -99,11 +99,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60fc22d1e64d1b04cdd4e602
title: Passo 45
title: Passo 46
challengeType: 0
dashedName: step-45
dashedName: step-46
---
# --description--
@@ -11,6 +11,12 @@ Adicione um pouco de espaço entre os elementos `.inline` e o texto do `label`,
# --hints--
Você deve dar aos elementos `.inline` uma `margin-top` de `0`.
```js
assert.equal(new __helpers.CSSHelp(document).getStyle('.inline')?.marginTop, '0px');
```
Você deve dar aos elementos `.inline` uma `margin-right` de `0.5em`.
```js
@@ -23,12 +29,6 @@ Você deve dar aos elementos `.inline` uma `margin-bottom` de `0`.
assert.equal(new __helpers.CSSHelp(document).getStyle('.inline')?.marginBottom, '0px');
```
Você deve dar aos elementos `.inline` uma `margin-top` de `0`.
```js
assert.equal(new __helpers.CSSHelp(document).getStyle('.inline')?.marginTop, '0px');
```
Você deve dar aos elementos `.inline` uma `margin-left` de `0`.
```js
@@ -111,11 +111,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60fc236dc04532052926fdac
title: Passo 46
title: Passo 47
challengeType: 0
dashedName: step-46
dashedName: step-47
---
# --description--
@@ -95,11 +95,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60ffe1bc30415f042faea936
title: Passo 47
title: Passo 48
challengeType: 0
dashedName: step-47
dashedName: step-48
---
# --description--
@@ -110,11 +110,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60ffe3936796ac04959285a9
title: Passo 48
title: Passo 49
challengeType: 0
dashedName: step-48
dashedName: step-49
---
# --description--
@@ -103,11 +103,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60ffe4f4ec18cd04dc470c56
title: Passo 49
title: Passo 50
challengeType: 0
dashedName: step-49
dashedName: step-50
---
# --description--
@@ -108,11 +108,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60ffe69ee377c6055e192a46
title: Passo 50
title: Passo 51
challengeType: 0
dashedName: step-50
dashedName: step-51
---
# --description--
@@ -113,11 +113,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60ffe7d8aae62c05bcc9e7eb
title: Passo 51
title: Passo 52
challengeType: 0
dashedName: step-51
dashedName: step-52
---
# --description--
@@ -102,11 +102,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60ffe8a5ceb0e90618db06d9
title: Passo 52
title: Passo 53
challengeType: 0
dashedName: step-52
dashedName: step-53
---
# --description--
@@ -99,11 +99,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60ffe947a868ec068f7850f6
title: Passo 53
title: Passo 54
challengeType: 0
dashedName: step-53
dashedName: step-54
---
# --description--
@@ -99,11 +99,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60ffe9cb47809106eda2f2c9
title: Passo 54
title: Passo 55
challengeType: 0
dashedName: step-54
dashedName: step-55
---
# --description--
@@ -102,11 +102,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60ffec2825da1007509ddd06
title: Passo 55
title: Passo 56
challengeType: 0
dashedName: step-55
dashedName: step-56
---
# --description--
@@ -101,11 +101,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60ffecefac971607ae73c60f
title: Passo 56
title: Passo 57
challengeType: 0
dashedName: step-56
dashedName: step-57
---
# --description--
@@ -102,11 +102,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -1,8 +1,8 @@
---
id: 60ffefd6479a3d084fb77cbc
title: Passo 57
title: Passo 58
challengeType: 0
dashedName: step-57
dashedName: step-58
---
# --description--
@@ -102,11 +102,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {
@@ -230,11 +231,12 @@ form {
fieldset {
border: none;
padding: 2rem 0;
padding: 2rem 0;
border-bottom: 3px solid #3b3b4f;
}
fieldset:not(:last-of-type) {
border-bottom: 3px solid #3b3b4f;
fieldset:last-of-type {
border-bottom: none;
}
label {

View File

@@ -0,0 +1,122 @@
---
id: 62b30924c5e4ef0daba23b5e
title: Passo 42
challengeType: 0
dashedName: step-42
---
# --description--
A borda do último elemento `fieldset` parece um pouco fora de lugar. Você pode selecionar o último elemento de um tipo específico usando a pseudo-classe `last-of-type` do CSS, assim:
```css
p:last-of-type { }
```
Isso selecionará o último elemento `p`. Crie um seletor que tenha como destino o último elemento `fieldset` e defina o atributo `border-bottom` como `none`.
# --hints--
Você pode usar a pseudoclasse `:last-of-type` para selecionar apenas o último elemento de determinado tipo.
```js
assert.exists(new __helpers.CSSHelp(document).getStyle('fieldset:last-of-type'));
```
`fieldset:last-of-type` deve ter `border-bottom` definido como `none`.
```js
const borderBottom = new __helpers.CSSHelp(document).getStyle('fieldset:last-of-type')?.borderBottom;
assert(borderBottom === 'none' || borderBottom === 'medium none');
```
# --seed--
## --seed-contents--
```html
<!DOCTYPE html>
<html>
<head>
<title>Registration Form</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<h1>Registration Form</h1>
<p>Please fill out this form with the required information</p>
<form action='https://register-demo.freecodecamp.org'>
<fieldset>
<label>Enter Your First Name: <input type="text" name="first-name" required /></label>
<label>Enter Your Last Name: <input type="text" name="last-name" required /></label>
<label>Enter Your Email: <input type="email" name="email" required /></label>
<label>Create a New Password: <input type="password" name="password" pattern="[a-z0-5]{8,}" required /></label>
</fieldset>
<fieldset>
<label><input type="radio" name="account-type" /> Personal Account</label>
<label><input type="radio" name="account-type" /> Business Account</label>
<label>
<input type="checkbox" name="terms" required /> I accept the <a href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions</a>
</label>
</fieldset>
<fieldset>
<label>Upload a profile picture: <input type="file" name="file" /></label>
<label>Input your age (years): <input type="number" name="age" min="13" max="120" />
</label>
<label>How did you hear about us?
<select name="referrer">
<option value="">(select one)</option>
<option value="1">freeCodeCamp News</option>
<option value="2">freeCodeCamp YouTube Channel</option>
<option value="3">freeCodeCamp Forum</option>
<option value="4">Other</option>
</select>
</label>
<label>Provide a bio:
<textarea name="bio" rows="3" cols="30" placeholder="I like coding on the beach..."></textarea>
</label>
</fieldset>
<input type="submit" value="Submit" />
</form>
</body>
</html>
```
```css
body {
width: 100%;
height: 100vh;
margin: 0;
background-color: #1b1b32;
color: #f5f6f7;
font-family: Tahoma;
font-size: 16px;
}
h1, p {
margin: 1em auto;
text-align: center;
}
form {
width: 60vw;
max-width: 500px;
min-width: 300px;
margin: 0 auto;
}
fieldset {
border: none;
padding: 2rem 0;
border-bottom: 3px solid rgb(59, 59, 79);
}
--fcc-editable-region--
--fcc-editable-region--
label {
display: block;
margin: 0.5rem 0;
}
```

View File

@@ -7,7 +7,7 @@ dashedName: step-1
# --description--
Comece configurando a estrutura do HTML. Adicione uma declaração `<!DOCTYPE>` e um elemento `html`. Dentro do elemento `html`, adicione um elemento `head` e um elemento `body`.
Comece configurando a estrutura do HTML. Adicione uma declaração `<!DOCTYPE>` e um elemento `html` com um atributo `lang` definido como `en`. Dentro do elemento `html`, adicione um elemento `head` e um elemento `body`.
# --hints--
@@ -41,10 +41,10 @@ A declaração `DOCTYPE` deve estar no ínicio do HTML.
assert(__helpers.removeHtmlComments(code).match(/^\s*<!DOCTYPE\s+html\s*>/i));
```
O elemento `html` deve ter uma tag de abertura.
O elemento `html` deve ter uma tag de abertura com um atributo `lang` de `en`.
```js
assert(code.match(/<html\s*>/gi));
assert(code.match(/<html\s+lang\s*=\s*('|")en\1\s*>/gi));
```
O elemento `html` deve ter uma tag de fechamento.

View File

@@ -35,10 +35,10 @@ Você deve fechar a declaração `DOCTYPE` com um `>` após o tipo.
assert(code.match(/<!DOCTYPE\s+html\s*>/gi));
```
O elemento `html` deve ter uma tag de abertura.
O elemento `html` deve ter uma tag de abertura com um atributo `lang` de `en`.
```js
assert(code.match(/<html\s*>/gi));
assert(code.match(/<html\s+lang\s*=\s*('|")en\1\s*>/gi));
```
O elemento `html` deve ter uma tag de fechamento.

View File

@@ -16,7 +16,7 @@ dashedName: data-analysis-example-b
Додаткові ресурси:
- [Блокноти на GitHub](https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example)
- <a href="https://github.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example" target="_blank" rel="noopener noreferrer nofollow">Блокноти на GitHub</a>
- <a href="https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb" target="_blank" rel="noopener noreferrer nofollow">Як відкрити блокноти з GitHub використовуючи Google Colab.</a>
# --question--