chore(i18n,curriculum): update translations (#43308)

This commit is contained in:
camperbot
2021-08-26 21:51:26 -07:00
committed by GitHub
parent ef6604f69e
commit f9736fffa1
7 changed files with 62 additions and 37 deletions

View File

@@ -27,38 +27,43 @@ A propriedade `font-size` é usada para especificar o quão grande será o texto
A tag `h1` deve ter a propriedade `font-size` com o valor de 68 pixels.
```js
assert($('h1').css('font-size') == '68px');
const fontSizeOfh1 = new __helpers.CSSHelp(document).getStyle('h1')?.getPropertyValue('font-size');
assert(fontSizeOfh1 === '68px');
```
A tag `h2` deve ter a propriedade `font-size` com o valor de 52 pixels.
```js
assert($('h2').css('font-size') == '52px');
const fontSizeOfh2 = new __helpers.CSSHelp(document).getStyle('h2')?.getPropertyValue('font-size');
assert(fontSizeOfh2 === '52px');
```
A tag `h3` deve ter a propriedade `font-size` com o valor de 40 pixels.
```js
assert($('h3').css('font-size') == '40px');
const fontSizeOfh3 = new __helpers.CSSHelp(document).getStyle('h3')?.getPropertyValue('font-size');
assert(fontSizeOfh3 === '40px');
```
A tag `h4` deve ter a propriedade `font-size` com o valor de 32 pixels.
```js
assert($('h4').css('font-size') == '32px');
const fontSizeOfh4 = new __helpers.CSSHelp(document).getStyle('h4')?.getPropertyValue('font-size');
assert(fontSizeOfh4 === '32px');
```
A tag `h5` deve ter a propriedade `font-size` com o valor de 21 pixels.
```js
assert($('h5').css('font-size') == '21px');
const fontSizeOfh5 = new __helpers.CSSHelp(document).getStyle('h5')?.getPropertyValue('font-size');
assert(fontSizeOfh5 === '21px');
```
A tag `h6` deve ter a propriedade `font-size` com o valor de 14 pixels.
```js
const regex = /h6\s*\{\s*font-size\s*:\s*14px\s*(;\s*\}|\})/i;
assert.strictEqual(true, regex.test(code));
const fontSizeOfh6 = new __helpers.CSSHelp(document).getStyle('h6')?.getPropertyValue('font-size');
assert(fontSizeOfh6 === '14px');
```
# --seed--

View File

@@ -28,7 +28,7 @@ var ourStr = "I come first. " + "I come second.";
A string `I come first. I come second.` seria exibida no console.
# --instructions--
Crie `myStr` a partir das strings `This is the start.` e `This is the end.` usando o operador `+`.
Crie `myStr` a partir das strings `This is the start.` e `This is the end.` usando o operador `+`. Não se esqueça de incluir um espaço entre as duas strings.
# --hints--

View File

@@ -24,7 +24,7 @@ ourStr += "I come second.";
# --instructions--
Crie `myStr` em várias linhas concatenando essas duas strings: `This is the first sentence.` e `This is the second sentence.` usando o operador `+=`. Use o operador `+=` de modo semelhante a como aparece no exemplo. Comece atribuindo o primeiro texto para `myStr`, e então adicione o segundo texto.
Crie `myStr` em várias linhas concatenando essas duas strings: `This is the first sentence.` e `This is the second sentence.` usando o operador `+=`. Use o operador `+=` de modo semelhante a como ele é mostrado no exemplo e certifique-se de incluir um espaço entre as duas strings. Comece atribuindo o primeiro texto para `myStr`, e então adicione o segundo texto.
# --hints--