From 3565bf179bfdd5b4cf5645ae8cbefacd6336c726 Mon Sep 17 00:00:00 2001 From: camperbot Date: Wed, 26 Apr 2023 22:06:29 +0530 Subject: [PATCH] chore(i18n,learn): processed translations (#50193) --- ...if-and-else-to-add-logic-to-your-styles.md | 6 ++-- ...if-and-else-to-add-logic-to-your-styles.md | 6 ++-- ...if-and-else-to-add-logic-to-your-styles.md | 6 ++-- ...omparisons-with-the-logical-or-operator.md | 4 +-- ...if-and-else-to-add-logic-to-your-styles.md | 6 ++-- ...if-and-else-to-add-logic-to-your-styles.md | 6 ++-- ...if-and-else-to-add-logic-to-your-styles.md | 6 ++-- .../63c620161fc2b49ac340ffc4.md | 10 +++--- .../63cf7e324c1831f8d936b3ae.md | 10 +++--- .../63cf7f97e7f99af9348f5068.md | 10 +++--- .../63cf812bb8ecd4f9cf749b8f.md | 6 ++-- .../63cf83fdbb51d9fa54654ae6.md | 6 ++-- .../63cf8ec006a776ff5f6e3c68.md | 4 +-- .../63cf90d4696d8f00851873a4.md | 2 +- .../63cf91b0ff6e9300ead140cc.md | 6 ++-- .../63cf920228531a0145abd0b3.md | 6 ++-- .../63cf93472de77d01bf8474bf.md | 14 ++++---- .../63d120a05ee93f38353b84c0.md | 6 ++-- .../63d1214a0ac7a9389793269b.md | 28 ++++++++-------- .../63d128eaedcc773d2ded2128.md | 4 +-- .../6423491485db5e1786dd6434.md | 20 ++++++------ .../642349b5b7bae31af21cd5f8.md | 32 +++++++++---------- ...if-and-else-to-add-logic-to-your-styles.md | 6 ++-- ...if-and-else-to-add-logic-to-your-styles.md | 6 ++-- ...if-and-else-to-add-logic-to-your-styles.md | 6 ++-- 25 files changed, 111 insertions(+), 111 deletions(-) diff --git a/curriculum/challenges/arabic/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md b/curriculum/challenges/arabic/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md index 863b906b94a..d56170b1581 100644 --- a/curriculum/challenges/arabic/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md +++ b/curriculum/challenges/arabic/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md @@ -18,7 +18,7 @@ dashedName: use-if-and-else-to-add-logic-to-your-styles } ``` -ومثلها تماما في JavaScript، يختبرا `@else if` و `@else` المزيد من الشروط: +And just like in JavaScript, the `@else if` and `@else` directives test for more conditions: ```scss @mixin text-effect($val) { @@ -39,7 +39,7 @@ dashedName: use-if-and-else-to-add-logic-to-your-styles # --instructions-- -إنشاء mixin يسمى `border-stroke` التي تأخذ وسيط `$val`. يجب على mixin التحقق من الشروط التالية باستخدام `@if`، و `@else if`، و `@else`: +إنشاء mixin يسمى `border-stroke` التي تأخذ وسيط `$val`. The mixin should check for the following conditions using `@if`, `@else if`, and `@else` directives: ```scss light - 1px solid black @@ -47,7 +47,7 @@ medium - 3px solid black heavy - 6px solid black ``` -إذا كان `$val` ليس `light`، أو `medium`، أو `heavy`، ينبغي تعيين border إلى `none`. +If the `$val` parameter value is not `light`, `medium`, or `heavy`, then the `border` property should be set to `none`. # --hints-- diff --git a/curriculum/challenges/chinese-traditional/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md b/curriculum/challenges/chinese-traditional/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md index e50c1bde006..00156e4df6e 100644 --- a/curriculum/challenges/chinese-traditional/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md +++ b/curriculum/challenges/chinese-traditional/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md @@ -18,7 +18,7 @@ Sass 中的 `@if` 指令對於測試特定情況非常有用——它的工作 } ``` -類似 JavaScript,可以在 Sass 中使用 `@else if` 和 `@else` 測試更多條件: +And just like in JavaScript, the `@else if` and `@else` directives test for more conditions: ```scss @mixin text-effect($val) { @@ -39,7 +39,7 @@ Sass 中的 `@if` 指令對於測試特定情況非常有用——它的工作 # --instructions-- -創建一個名爲 `border-stroke` 的 mixin,它接受一個參數 `$val`。 mixin 應使用 `@if`,`@else if` 和 `@else` 檢查以下條件: +創建一個名爲 `border-stroke` 的 mixin,它接受一個參數 `$val`。 The mixin should check for the following conditions using `@if`, `@else if`, and `@else` directives: ```scss light - 1px solid black @@ -47,7 +47,7 @@ medium - 3px solid black heavy - 6px solid black ``` -如果 `$val` 不是 `light`、`medium` 或者 `heavy`,border 應該設置爲 `none`。 +If the `$val` parameter value is not `light`, `medium`, or `heavy`, then the `border` property should be set to `none`. # --hints-- diff --git a/curriculum/challenges/chinese/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md b/curriculum/challenges/chinese/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md index 03c8d23ebe1..181a6f4c02d 100644 --- a/curriculum/challenges/chinese/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md +++ b/curriculum/challenges/chinese/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md @@ -18,7 +18,7 @@ Sass 中的 `@if` 指令对于测试特定情况非常有用——它的工作 } ``` -类似 JavaScript,可以在 Sass 中使用 `@else if` 和 `@else` 测试更多条件: +And just like in JavaScript, the `@else if` and `@else` directives test for more conditions: ```scss @mixin text-effect($val) { @@ -39,7 +39,7 @@ Sass 中的 `@if` 指令对于测试特定情况非常有用——它的工作 # --instructions-- -创建一个名为 `border-stroke` 的 mixin,它接受一个参数 `$val`。 mixin 应使用 `@if`,`@else if` 和 `@else` 检查以下条件: +创建一个名为 `border-stroke` 的 mixin,它接受一个参数 `$val`。 The mixin should check for the following conditions using `@if`, `@else if`, and `@else` directives: ```scss light - 1px solid black @@ -47,7 +47,7 @@ medium - 3px solid black heavy - 6px solid black ``` -如果 `$val` 不是 `light`、`medium` 或者 `heavy`,border 应该设置为 `none`。 +If the `$val` parameter value is not `light`, `medium`, or `heavy`, then the `border` property should be set to `none`. # --hints-- diff --git a/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/basic-javascript/comparisons-with-the-logical-or-operator.md b/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/basic-javascript/comparisons-with-the-logical-or-operator.md index dd1619bf0c7..da2403cc52c 100644 --- a/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/basic-javascript/comparisons-with-the-logical-or-operator.md +++ b/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/basic-javascript/comparisons-with-the-logical-or-operator.md @@ -13,7 +13,7 @@ El operador lógico or (`||`) devuelve `true` si cualquiera de los lógico or se compone de dos símbolos de barra vertical: (`||`). Este se puede encontrar normalmente entre las teclas de tabulación y escape. -The pattern below should look familiar from prior waypoints. +El patrón de abajo debe parecer familiar desde los puntos de referencia anteriores. ```js if (num > 10) { @@ -25,7 +25,7 @@ if (num < 5) { return "Yes"; ``` -This code will return `Yes` if `num` is between `5` and `10` (`5` and `10` included). The same logic can be written with the logical or operator. +Este código devolverá `Yes` si `num` está entre `5` y `10` (`5` y `10` incluidos). La misma lógica se puede escribir con el operador lógico o. ```js if (num > 10 || num < 5) { diff --git a/curriculum/challenges/espanol/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md b/curriculum/challenges/espanol/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md index 504b260430f..8825a718ed3 100644 --- a/curriculum/challenges/espanol/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md +++ b/curriculum/challenges/espanol/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md @@ -18,7 +18,7 @@ La directiva `@if` en Sass es útil para probar un caso específico: funciona ig } ``` -Y al igual que en JavaScript, `@else if` y `@else` prueban más condiciones: +And just like in JavaScript, the `@else if` and `@else` directives test for more conditions: ```scss @mixin text-effect($val) { @@ -39,7 +39,7 @@ Y al igual que en JavaScript, `@else if` y `@else` prueban más condiciones: # --instructions-- -Crea un mixin llamado `border-stroke` que toma un parámetro `$val`. El mixin debe comprobar las siguientes condiciones utilizando `@if`, `@else if`, y `@else`: +Crea un mixin llamado `border-stroke` que toma un parámetro `$val`. The mixin should check for the following conditions using `@if`, `@else if`, and `@else` directives: ```scss light - 1px solid black @@ -47,7 +47,7 @@ medium - 3px solid black heavy - 6px solid black ``` -Si `$val` no es `light`, `medium`, o `heavy`, el borde debe establecerse en `none`. +If the `$val` parameter value is not `light`, `medium`, or `heavy`, then the `border` property should be set to `none`. # --hints-- diff --git a/curriculum/challenges/german/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md b/curriculum/challenges/german/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md index e4a91d0182b..0896e9eedb8 100644 --- a/curriculum/challenges/german/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md +++ b/curriculum/challenges/german/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md @@ -18,7 +18,7 @@ Die `@if`-Direktive in Sass ist nützlich, um auf einen bestimmten Fall zu teste } ``` -Und genau wie in JavaScript testen `@else if` und `@else` auf weitere Bedingungen: +And just like in JavaScript, the `@else if` and `@else` directives test for more conditions: ```scss @mixin text-effect($val) { @@ -39,7 +39,7 @@ Und genau wie in JavaScript testen `@else if` und `@else` auf weitere Bedingunge # --instructions-- -Erstelle ein Mixin namens `border-stroke`, das einen Parameter `$val` erhält. Das Mixin sollte mithilfe von `@if`, `@else if` und `@else` die folgenden Bedingungen überprüfen: +Erstelle ein Mixin namens `border-stroke`, das einen Parameter `$val` erhält. The mixin should check for the following conditions using `@if`, `@else if`, and `@else` directives: ```scss light - 1px solid black @@ -47,7 +47,7 @@ medium - 3px solid black heavy - 6px solid black ``` -Wenn `$val` nicht `light`, `medium` oder `heavy` ist, sollte der Rahmen auf `none` gesetzt werden. +If the `$val` parameter value is not `light`, `medium`, or `heavy`, then the `border` property should be set to `none`. # --hints-- diff --git a/curriculum/challenges/italian/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md b/curriculum/challenges/italian/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md index 9235fa097c8..e13f9fed81e 100644 --- a/curriculum/challenges/italian/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md +++ b/curriculum/challenges/italian/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md @@ -18,7 +18,7 @@ La direttiva `@if` in Sass è utile per valutare un caso specifico - funziona co } ``` -E proprio come in JavaScript, `@else if` e `@else` valutano ulteriori condizioni: +And just like in JavaScript, the `@else if` and `@else` directives test for more conditions: ```scss @mixin text-effect($val) { @@ -39,7 +39,7 @@ E proprio come in JavaScript, `@else if` e `@else` valutano ulteriori condizioni # --instructions-- -Crea un mixin chiamato `border-stroke` che prende un parametro `$val`. Il mixin dovrebbe controllare le seguenti condizioni usando `@if`, `@else if`e `@else`: +Crea un mixin chiamato `border-stroke` che prende un parametro `$val`. The mixin should check for the following conditions using `@if`, `@else if`, and `@else` directives: ```scss light - 1px solid black @@ -47,7 +47,7 @@ medium - 3px solid black heavy - 6px solid black ``` -Se `$val` non è `light`, `medium`, o `heavy`, il bordo dovrebbe essere impostato a `none`. +If the `$val` parameter value is not `light`, `medium`, or `heavy`, then the `border` property should be set to `none`. # --hints-- diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63c620161fc2b49ac340ffc4.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63c620161fc2b49ac340ffc4.md index 46b4f675589..a568b38552c 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63c620161fc2b49ac340ffc4.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63c620161fc2b49ac340ffc4.md @@ -7,21 +7,21 @@ dashedName: step-1 # --description-- -In this project, you will build a set of football team cards and learn about nested objects, object destructuring, default parameters, event listeners, and switch statements. All of the HTML and CSS for this project has been provided for you. +In questo progetto creerai un set di figurine di una squadra di calcio e imparerai a usare oggetti annidati, destrutturazione di oggetti, parametri predefiniti, event listener e istruzioni switch. Tutto l'HTML e il CSS per questo progetto ti è già stato fornito. -Start by accessing the `id` called `team` from the HTML document and storing it in a `const` variable called `teamName`. +Inizia accedendo all'`id` chiamato `team`dal documento HTML e salvalo in una variabile dichiarata con `const` chiamata `teamName`. -Remember, you can use the `getElementById` method for this. +Ricorda che puoi usare il metodo `getElementById` per questo. # --hints-- -You should use the `document.getElementById()` method to get the `#team` element. +Dovresti usare il metodo `document.getElementById()` per selezionare l'elemento `#team`. ```js assert.match(code, /document\.getElementById\(\s*('|"|`)team\1\s*\)/); ``` -You should use `const` to declare the variable called `teamName` and assign it the `#team` element. +Dovresti usare `const` per dichiarare la variabile chiamata `teamName` e assegnarle l'elemento `#team`. ```js assert.match(code, /const\s+teamName\s*=\s*document\.getElementById\(\s*('|"|`)team\1\s*\)/); diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf7e324c1831f8d936b3ae.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf7e324c1831f8d936b3ae.md index 513b3c3ed99..42dd14dc739 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf7e324c1831f8d936b3ae.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf7e324c1831f8d936b3ae.md @@ -7,29 +7,29 @@ dashedName: step-2 # --description-- -Next, access the `id` called `sport` from the HTML document and store it in a `const` variable called `typeOfSport`. Below that variable, assign the `id` of `year` to a `const` variable called `worldCupYear`. +Ora accedi all'`id` chiamato `sport` dal documento HTML e salvalo in una variabile dichiarata con `const` chiamata `typeOfSport`. Sotto questa variabile, assegna l'`id` `year` a una variabile dichiarata con `const` chiamata `worldCupYear`. # --hints-- -You should use the `document.getElementById()` method to get the `#sport` element. +Dovresti usare il metodo `document.getElementById()` per selezionare l'elemento `#sport`. ```js assert.match(code, /document\.getElementById\(\s*('|"|`)sport\1\s*\)/); ``` -You should use `const` to declare the variable called `typeOfSport` and assign it the `#sport` element. +Dovresti usare `const` per dichiarare la variabile chiamata `typeOfSport` e assegnarle l'elemento `#sport`. ```js assert.match(code, /const\s+typeOfSport\s*=\s*document\.getElementById\(\s*('|"|`)sport\1\s*\)/); ``` -You should use the `document.getElementById()` method to get the `#year` element. +Dovresti usare il metodo `document.getElementById()` per selezionare l'elemento `#year`. ```js assert.match(code, /document\.getElementById\(\s*('|"|`)year\1\s*\)/); ``` -You should use `const` to declare the variable called `worldCupYear` and assign it the `#year` element. +Dovresti usare `const` per dichiarare la variabile chiamata `worldCupYear` e assegnarle l'elemento `#year`. ```js assert.match(code, /const\s+worldCupYear\s*=\s*document\.getElementById\(\s*('|"|`)year\1\s*\)/); diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf7f97e7f99af9348f5068.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf7f97e7f99af9348f5068.md index 080e5e186a1..5d6ead45e79 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf7f97e7f99af9348f5068.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf7f97e7f99af9348f5068.md @@ -7,29 +7,29 @@ dashedName: step-3 # --description-- -Next, access the `id` called `head-coach` from the HTML document and store it in a `const` variable called `headCoach`. Below that variable, assign the `id` of `player-cards` to a `const` variable called `playerCards`. +Ora accedi all'`id` chiamato `head-coach` dal documento HTML e salvalo in una variabile dichiarata con `const` chiamata `headCoach`. Sotto questa variabile, assegna l'`id` `player-cards` a una variabile dichiarata con `const` chiamata `playerCards`. # --hints-- -You should use the `document.getElementById()` method to get the `#head-coach` element. +Dovresti usare il metodo `document.getElementById()` per selezionare l'elemento `#head-coach`. ```js assert.match(code, /document\.getElementById\(\s*('|"|`)head-coach\1\s*\)/); ``` -You should use `const` to declare the variable called `headCoach` and assign it the `#head-coach` element. +Dovresti usare `const` per dichiarare la variabile chiamata `headCoach` e assegnarle l'elemento `#head-coach`. ```js assert.match(code, /const\s+headCoach\s*=\s*document\.getElementById\(\s*('|"|`)head-coach\1\s*\)/); ``` -You should use the `document.getElementById()` method to get the `#player-cards` element. +Dovresti usare il metodo `document.getElementById()` per selezionare l'elemento `#player-cards`. ```js assert.match(code, /document\.getElementById\(\s*('|"|`)player-cards\1\s*\)/); ``` -You should use `const` to declare the variable called `playerCards` and assign it the `#player-cards` element. +Dovresti usare `const` per dichiarare la variabile chiamata `playerCards` e assegnarle l'elemento `#player-cards`. ```js assert.match(code, /const\s+playerCards\s*=\s*document\.getElementById\(\s*('|"|`)player-cards\1\s*\)/); diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf812bb8ecd4f9cf749b8f.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf812bb8ecd4f9cf749b8f.md index 6afeaf034bf..112bf846d36 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf812bb8ecd4f9cf749b8f.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf812bb8ecd4f9cf749b8f.md @@ -7,17 +7,17 @@ dashedName: step-4 # --description-- -Create one more `const` variable called `playersDropdownList` and assign it the `id` of `players` using the `getElementById` method. +Crea un'altra variabile con `const` chiamata `playersDropdownList` e assegnale l'`id` `players` usando il metodo `getElementById`. # --hints-- -You should use the `document.getElementById()` method to get the `#players` element. +Dovresti usare il metodo `document.getElementById()` per selezionare l'elemento `#players`. ```js assert.match(code, /document\.getElementById\(\s*('|"|`)players\1\s*\)/); ``` -You should use `const` to declare the variable called `playersDropdownList` and assign it the `#players` element. +Dovresti usare `const` per dichiarare la variabile chiamata `playersDropdownList` e assegnarle l'elemento `#players`. ```js assert.match(code, /const\s+playersDropdownList\s*=\s*document\.getElementById\(\s*('|"|`)players\1\s*\)/); diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf83fdbb51d9fa54654ae6.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf83fdbb51d9fa54654ae6.md index e306a5ea676..940dfcd2d51 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf83fdbb51d9fa54654ae6.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf83fdbb51d9fa54654ae6.md @@ -7,13 +7,13 @@ dashedName: step-5 # --description-- -Now it is time to build out the data structure that will hold all of the information for your football team. +Ora è il momento di creare la struttura di dati che conterrà tutte le informazioni della squadra di calcio. -Below the variables you just created, create a new `const` variable called `myFavoriteFootballTeam` and assign it an empty object. +Sotto le variabili appena create, crea una nuova variabile con `const` chiamata `myFavoriteFootballTeam` e assegnale un oggetto vuoto. # --hints-- -You should use `const` to declare the variable called `myFavoriteFootballTeam` and assign it an empty object. +Dovresti usare `const` per dichiarare la variabile chiamata `myFavoriteFootballTeam` e assegnarle un oggetto vuoto. ```js assert.match(code, /const\s+myFavoriteFootballTeam\s*=\s*{\s*}\s*/); diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf8ec006a776ff5f6e3c68.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf8ec006a776ff5f6e3c68.md index e0b502ce27e..46e96ec8070 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf8ec006a776ff5f6e3c68.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf8ec006a776ff5f6e3c68.md @@ -12,13 +12,13 @@ Inside the `myFavoriteFootballTeam` object, add a new property with a `key` name # --hints-- -Your `myFavoriteFootballTeam` object should have a `team` property. +L'oggetto `myFavoriteFootballTeam` dovrebbe avere una proprietà `team`. ```js assert.property(myFavoriteFootballTeam, 'team'); ``` -Your `team` property should be set to `Argentina`. +La proprietà `team` dovrebbe essere impostata su `Argentina`. ```js assert.equal(myFavoriteFootballTeam.team, 'Argentina'); diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf90d4696d8f00851873a4.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf90d4696d8f00851873a4.md index ed41bc54c71..b07c3d71014 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf90d4696d8f00851873a4.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf90d4696d8f00851873a4.md @@ -11,7 +11,7 @@ Below the `team` property, add a new property with a `key` named `sport` and a s # --hints-- -Your `myFavoriteFootballTeam` object should have a `sport` property. +L'oggetto `myFavoriteFootballTeam` dovrebbe avere una proprietà `sport`. ```js assert.property(myFavoriteFootballTeam, 'sport'); diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf91b0ff6e9300ead140cc.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf91b0ff6e9300ead140cc.md index 14594da8b08..06a658ce7c6 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf91b0ff6e9300ead140cc.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf91b0ff6e9300ead140cc.md @@ -11,19 +11,19 @@ Below the `sport` property, add a new property with a `key` named `year` and a n # --hints-- -Your `myFavoriteFootballTeam` object should have a `year` property. +L'oggetto `myFavoriteFootballTeam` dovrebbe avere una proprietà `year`. ```js assert.property(myFavoriteFootballTeam, 'year'); ``` -Your `year` property should be a number. +La proprietà `year` dovrebbe essere un numero. ```js assert.isNumber(myFavoriteFootballTeam.year); ``` -Your `year` property should be set to `1986`. +La proprietà `year` dovrebbe essere impostata su `1986`. ```js assert.equal(myFavoriteFootballTeam.year, 1986); diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf920228531a0145abd0b3.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf920228531a0145abd0b3.md index 1502bc6914d..acdc1774e8b 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf920228531a0145abd0b3.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf920228531a0145abd0b3.md @@ -11,19 +11,19 @@ Below the `year` property, add a new property with a `key` named `isWorldCupWinn # --hints-- -Your `myFavoriteFootballTeam` object should have an `isWorldCupWinner` property. +L'oggetto `myFavoriteFootballTeam` dovrebbe avere una proprietà `isWorldCupWinner`. ```js assert.property(myFavoriteFootballTeam, 'isWorldCupWinner'); ``` -Your `isWorldCupWinner` property should be a boolean. +La proprietà `isWorldCupWinner` dovrebbe essere un booleano. ```js assert.isBoolean(myFavoriteFootballTeam.isWorldCupWinner); ``` -Your `isWorldCupWinner` property should be set to `true`. +La proprietà `isWorldCupWinner` dovrebbe essere impostata su `true`. ```js assert.equal(myFavoriteFootballTeam.isWorldCupWinner, true); diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf93472de77d01bf8474bf.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf93472de77d01bf8474bf.md index 33ba5e855e9..9b6d1932168 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf93472de77d01bf8474bf.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63cf93472de77d01bf8474bf.md @@ -11,43 +11,43 @@ Below the `isWorldCupWinner` property, add a new `key` called `headCoach` with a # --hints-- -Your `myFavoriteFootballTeam` object should have a `headCoach` property. +L'oggetto `myFavoriteFootballTeam` dovrebbe avere una proprietà `headCoach`. ```js assert.property(myFavoriteFootballTeam, 'headCoach'); ``` -Your `headCoach` value should be an object. +Il valore di `headCoach` dovrebbe essere un oggetto. ```js assert.isObject(myFavoriteFootballTeam.headCoach) ``` -Your `headCoach` object should have a `coachName` property. +L'oggetto `headCoach` dovrebbe avere una proprietà `coachName`. ```js assert.property(myFavoriteFootballTeam.headCoach, 'coachName'); ``` -Your `coachName` property should be set to `Carlos Bilardo`. +La proprietà `coachName` dovrebbe essere impostata su `Carlos Bilardo`. ```js assert.equal(myFavoriteFootballTeam.headCoach.coachName, 'Carlos Bilardo'); ``` -Your `headCoach` object should have a `matches` property. +L'oggetto `headCoach` dovrebbe avere una proprietà `matches`. ```js assert.property(myFavoriteFootballTeam.headCoach, 'matches'); ``` -Your `matches` property should be a number. +La proprietà `matches` dovrebbe essere un numero. ```js assert.isNumber(myFavoriteFootballTeam.headCoach.matches); ``` -Your `matches` property should be set to `7`. +La proprietà `matches` dovrebbe essere impostata su `7`. ```js assert.equal(myFavoriteFootballTeam.headCoach.matches, 7); diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63d120a05ee93f38353b84c0.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63d120a05ee93f38353b84c0.md index 6dbedd38e9f..5939bb53739 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63d120a05ee93f38353b84c0.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63d120a05ee93f38353b84c0.md @@ -11,19 +11,19 @@ Below the `headCoach` property, create a new property with a `key` named `player # --hints-- -Your `myFavoriteFootballTeam` object should have a `players` property. +L'oggetto `myFavoriteFootballTeam` dovrebbe avere una proprietà `players`. ```js assert.property(myFavoriteFootballTeam, 'players'); ``` -Your `players` value should be an array. +Il valore di `players` dovrebbe essere un array. ```js assert.isArray(myFavoriteFootballTeam.players) ``` -Your `players` array should be empty. +L'array `players` dovrebbe essere vuoto. ```js assert.deepEqual(myFavoriteFootballTeam.players, []) diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63d1214a0ac7a9389793269b.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63d1214a0ac7a9389793269b.md index c5569d06c04..96cdfd3b3a4 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63d1214a0ac7a9389793269b.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63d1214a0ac7a9389793269b.md @@ -7,7 +7,7 @@ dashedName: step-12 # --description-- -Inside that `players` array, create a new object with the following properties: +All'interno dell'array `players`, crea un nuovo oggetto con le seguenti proprietà: ```md @@ -22,79 +22,79 @@ nickname: null # --hints-- -Your `myFavoriteFootballTeam.players` array should have the value of an object. +L'array `myFavoriteFootballTeam.players` dovrebbe avere il valore di un oggetto. ```js assert.isObject(myFavoriteFootballTeam.players[0]) ``` -Your new object should have a `name` property. +Il nuovo oggetto dovrebbe avere una proprietà `name`. ```js assert.property(myFavoriteFootballTeam.players[0], 'name'); ``` -Your `name` property should be set to `Sergio Almirón`. +La proprietà `name` dovrebbe essere impostata su `Sergio Almirón`. ```js assert.equal(myFavoriteFootballTeam.players[0]?.name, 'Sergio Almirón'); ``` -Your new object should have a `position` property. +Il nuovo oggetto dovrebbe avere una proprietà `position`. ```js assert.property(myFavoriteFootballTeam.players[0], 'position'); ``` -Your `position` property should be set to `forward`. +La proprietà `position` dovrebbe essere impostata su `forward`. ```js assert.equal(myFavoriteFootballTeam.players[0]?.position, 'forward'); ``` -Your new object should have a `number` property. +Il nuovo oggetto dovrebbe avere una proprietà `number`. ```js assert.property(myFavoriteFootballTeam.players[0], 'number'); ``` -Your `number` property should be a number. +La proprietà `number` dovrebbe essere un numero. ```js assert.isNumber(myFavoriteFootballTeam.players[0]?.number); ``` -Your `number` property should be set to `1`. +La proprietà `number` dovrebbe essere impostata su `1`. ```js assert.equal(myFavoriteFootballTeam.players[0]?.number, 1); ``` -Your new object should have a `isCaptain` property. +Il nuovo oggetto dovrebbe avere una proprietà `isCaptain`. ```js assert.property(myFavoriteFootballTeam.players[0], 'isCaptain'); ``` -Your `isCaptain` property should be a boolean. +La proprietà `isCaptain` dovrebbe essere un booleano. ```js assert.isBoolean(myFavoriteFootballTeam.players[0]?.isCaptain); ``` -Your `isCaptain` property should be set to `false`. +La proprietà `isCaptain` dovrebbe essere impostata su `false`. ```js assert.equal(myFavoriteFootballTeam.players[0]?.isCaptain, false); ``` -Your new object should have a `nickname` property. +Il nuovo oggetto dovrebbe avere una proprietà `nickname`. ```js assert.property(myFavoriteFootballTeam.players[0], 'nickname'); ``` -Your `nickname` property should be set to `null`. +La proprietà `nickname` dovrebbe essere impostata su `null`. ```js assert.isNull(myFavoriteFootballTeam.players[0]?.nickname); diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63d128eaedcc773d2ded2128.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63d128eaedcc773d2ded2128.md index 7bb2e78b95d..13047472853 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63d128eaedcc773d2ded2128.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-modern-javascript-methods-by-building-football-team-cards/63d128eaedcc773d2ded2128.md @@ -7,7 +7,7 @@ dashedName: step-13 # --description-- -Below that object, create a new object with the following properties: +Sotto quell'oggetto, crea un nuovo oggetto con le seguenti proprietà: ```md name: "Sergio Batista" @@ -19,7 +19,7 @@ nickname: null # --hints-- -Your `myFavoriteFootballTeam.players` array should have two values. +L'array `myFavoriteFootballTeam.players` dovrebbe avere due valori. ```js // Have to assert at least, because we pre-populate data in the next step. diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/6423491485db5e1786dd6434.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/6423491485db5e1786dd6434.md index 63d2ab5ed43..65a5b18e4a9 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/6423491485db5e1786dd6434.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/6423491485db5e1786dd6434.md @@ -7,59 +7,59 @@ dashedName: step-34 # --description-- -L'ultima espressione regolare cercherà stringhe come `dear friend`. Declare a `dearRegex` and assign it a regular expression that will match the string `dear friend`. Remember to make it case insensitive, and add it to your `denyList` array. +L'ultima espressione regolare cercherà stringhe come `dear friend`. Dichiara una variabile `dearRegex` e assegnale un'espressione regolare che troverà la stringa `dear friend`. Ricordati di renderla insensibile alle maiuscole e di aggiungerla all'array `denyList`. # --hints-- -You should use `const` to declare your `dearRegex` variable. +Dovresti usare `const` per dichiarare la variabile `dearRegex`. ```js assert.match(code, /const\s+dearRegex\s*=/); ``` -Your `dearRegex` variable should be assigned a regular expression. +Alla variabile `dearRegex` dovrebbe essere assegnata un'espressione regolare. ```js assert.instanceOf(dearRegex, RegExp); ``` -Your `dearRegex` should match `dear friend`. +`dearRegex` dovrebbe trovare corrispondenza con `dear friend`. ```js assert.match('dear friend', dearRegex); ``` -Your `dearRegex` should be case-insensitive. +`dearRegex` dovrebbe essere insensibile alle maiuscole. ```js assert.include(dearRegex.flags, 'i'); ``` -Your `denyList` array should contain `dearRegex`. +L'array `denyList` dovrebbe contenere `dearRegex`. ```js assert.deepInclude(denyList, dearRegex); ``` -Your `denyList` array should contain `stockRegex`. +L'array `denyList` dovrebbe contenere `stockRegex`. ```js assert.deepInclude(denyList, stockRegex); ``` -Your `denyList` array should contain `freeRegex`. +L'array `denyList` dovrebbe contenere `freeRegex`. ```js assert.deepInclude(denyList, freeRegex); ``` -Your `denyList` array should contain `dollarRegex`. +L'array `denyList` dovrebbe contenere `dollarRegex`. ```js assert.deepInclude(denyList, dollarRegex); ``` -Your `denyList` array should contain `helpRegex`. +L'array `denyList` dovrebbe contenere `helpRegex`. ```js assert.deepInclude(denyList, helpRegex); diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/642349b5b7bae31af21cd5f8.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/642349b5b7bae31af21cd5f8.md index 9cc4d8df083..f68bc420d89 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/642349b5b7bae31af21cd5f8.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/learn-regular-expressions-by-building-a-spam-filter/642349b5b7bae31af21cd5f8.md @@ -7,31 +7,31 @@ dashedName: step-35 # --description-- -To put everything you have learned together, update your `dearRegex` to map the vowels to the corresponding numbers (note that `i` should match `1`, and also match the pipe symbol `|`), and to match whole words. +Per mettere insieme tutto quello che hai imparato, aggiorna `dearRegex` per mappare le vocali con i numeri corrispondenti (nota che `i` dovrebbe corrispondere a `1` e anche al simbolo pipe `|`) e trovare parole intere. -With that, your spam filter project is complete. +E con questo, il progetto del filtro anti-spam è completo. # --hints-- -Your `dearRegex` should use a character class to match `e` or `3`. +`dearRegex` dovrebbe usare una classe di caratteri per trovare `e` o `3`. ```js assert.match(dearRegex.source, /\[(e3|3e)\]/); ``` -Your `dearRegex` should use a character class to match `a`, `@`, or `4`. +`dearRegex` dovrebbe usare una classe di caratteri che indica `a`, `@` o `4`. ```js assert.match(dearRegex.source, /\[(a@4|a4@|4a@|4@a|@a4|@4a)\]/); ``` -Your `dearRegex` should use a character class to match `i`, `1`, or `|`. +`dearRegex` dovrebbe usare una classe di caratteri che indica `i`, `1` o `|`. ```js assert.match(dearRegex.source, /\[(i1\||i\|1|1i\||1\|i|\|1i|\|i1)\]/); ``` -Your `dearRegex` should use a non-capturing group. +`dearRegex` dovrebbe utilizzare un gruppo di non acquisizione. ```js assert.match(dearRegex.source, /\(\?:/); @@ -43,61 +43,61 @@ Your `stockRegex` should use a non-capturing group to match `\s` or `^`. assert.match(dearRegex.source, /\(\?:(\^\|\\s|\\s\|\^)\)/); ``` -Your `dearRegex` should use a second non-capturing group. +`dearRegex` dovrebbe utilizzare un secondo gruppo di non acquisizione. ```js assert.lengthOf(dearRegex.source.match(/\(\?:/g), 2); ``` -Your `dearRegex` should use a non-capturing group to match `\s` or `$`. +`dearRegex` dovrebbe usare un gruppo di non acquisizione per trovare `\s` o `$`. ```js assert.match(dearRegex.source, /\(\?:(\$\|\\s|\\s\|\$)\)/); ``` -Your `dearRegex` should match `dear friend`. +`dearRegex` dovrebbe trovare corrispondenza con `dear friend`. ```js assert.match('dear friend', dearRegex); ``` -Your `dearRegex` should match `d34r fr13nd`. +`dearRegex` dovrebbe trovare corrispondenza con `d34r fr13nd`. ```js assert.match('d34r fr13nd', dearRegex); ``` -Your `dearRegex` should match `d3@r fr|3nd`. +`dearRegex` dovrebbe trovare corrispondenza con `d3@r fr|3nd`. ```js assert.match('d3@r fr|3nd', dearRegex); ``` -Your `dearRegex` should match `my dear friend Naomi`. +`dearRegex` dovrebbe trovare corrispondenza con `my dear friend Naomi`. ```js assert.match('my dear friend Naomi', dearRegex); ``` -Your `dearRegex` should match `dear friend Naomi` +`dearRegex` dovrebbe trovare corrispondenza con `dear friend Naomi` ```js assert.match('dear friend Naomi', dearRegex); ``` -Your `dearRegex` should match `my dear friend`. +`dearRegex` dovrebbe trovare corrispondenza con `my dear friend`. ```js assert.match('my dear friend', dearRegex); ``` -Your `dearRegex` should not match `non-dear friend`. +`dearRegex` non dovrebbe trovare corrispondenza con `non-dear friend`. ```js assert.notMatch('non-dear friend', dearRegex); ``` -Your `dearRegex` should not match `dear friend-o`. +`dearRegex` non dovrebbe trovare corrispondenza con `dear friend-o`. ```js assert.notMatch('dear friend-o', dearRegex); diff --git a/curriculum/challenges/japanese/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md b/curriculum/challenges/japanese/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md index 39e6d2b4ae3..27aae929705 100644 --- a/curriculum/challenges/japanese/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md +++ b/curriculum/challenges/japanese/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md @@ -18,7 +18,7 @@ Sass の `@if` ディレクティブは特定の case をテストするのに } ``` -JavaScript と同様に、`@else if` と `@else` でテストする条件を増やします。 +And just like in JavaScript, the `@else if` and `@else` directives test for more conditions: ```scss @mixin text-effect($val) { @@ -39,7 +39,7 @@ JavaScript と同様に、`@else if` と `@else` でテストする条件を増 # --instructions-- -パラメーター `$val` を受け取る `border-stroke` というミックスインを作成してください。 ミックスインでは `@if`、`@else if`、`@else` を使用して次の条件をチェックしてください。 +パラメーター `$val` を受け取る `border-stroke` というミックスインを作成してください。 The mixin should check for the following conditions using `@if`, `@else if`, and `@else` directives: ```scss light - 1px solid black @@ -47,7 +47,7 @@ medium - 3px solid black heavy - 6px solid black ``` -`$val` が `light` でも `medium` でも `heavy` でもない場合は、境界線を `none` に設定してください。 +If the `$val` parameter value is not `light`, `medium`, or `heavy`, then the `border` property should be set to `none`. # --hints-- diff --git a/curriculum/challenges/portuguese/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md b/curriculum/challenges/portuguese/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md index 30d932440a9..3df0eb30112 100644 --- a/curriculum/challenges/portuguese/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md +++ b/curriculum/challenges/portuguese/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md @@ -18,7 +18,7 @@ A diretiva `@if` no Sass é útil para testar um caso específico - funciona exa } ``` -Assim como em JavaScript, teste `@else if` e `@else` para mais condições: +And just like in JavaScript, the `@else if` and `@else` directives test for more conditions: ```scss @mixin text-effect($val) { @@ -39,7 +39,7 @@ Assim como em JavaScript, teste `@else if` e `@else` para mais condições: # --instructions-- -Crie um mixin chamado `border-stroke` que recebe o parâmetro `$val`. O mixin deve verificar as seguintes condições usando `@if`, `@else if` e `@else`: +Crie um mixin chamado `border-stroke` que recebe o parâmetro `$val`. The mixin should check for the following conditions using `@if`, `@else if`, and `@else` directives: ```scss light - 1px solid black @@ -47,7 +47,7 @@ medium - 3px solid black heavy - 6px solid black ``` -Se `$val` não for `light`, `medium`, ou `heavy`, a borda deve ser ajustada para `none`. +If the `$val` parameter value is not `light`, `medium`, or `heavy`, then the `border` property should be set to `none`. # --hints-- diff --git a/curriculum/challenges/ukrainian/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md b/curriculum/challenges/ukrainian/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md index 02a63c29021..fc8c6d84f1b 100644 --- a/curriculum/challenges/ukrainian/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md +++ b/curriculum/challenges/ukrainian/03-front-end-development-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.md @@ -18,7 +18,7 @@ dashedName: use-if-and-else-to-add-logic-to-your-styles } ``` -Як і в JavaScript, `@else if` і `@else` перевіряють наявність додаткових умов: +And just like in JavaScript, the `@else if` and `@else` directives test for more conditions: ```scss @mixin text-effect($val) { @@ -39,7 +39,7 @@ dashedName: use-if-and-else-to-add-logic-to-your-styles # --instructions-- -Створіть міксин з ім'ям `border-stroke`, який приймає параметр `$val`. Міксин повинен перевіряти наступні умови за допомогою `@if`, `@else if` і `@else`: +Створіть міксин з ім'ям `border-stroke`, який приймає параметр `$val`. The mixin should check for the following conditions using `@if`, `@else if`, and `@else` directives: ```scss light - 1px solid black @@ -47,7 +47,7 @@ medium - 3px solid black heavy - 6px solid black ``` -Якщо `$val` не є `light`, `medium` або `heavy`, для елемента border повинно бути встановлено значення `none`. +If the `$val` parameter value is not `light`, `medium`, or `heavy`, then the `border` property should be set to `none`. # --hints--