From 51f90cc6aa550d8aa7374967b0be51934df320e7 Mon Sep 17 00:00:00 2001 From: camperbot Date: Tue, 17 Oct 2023 06:36:12 -0700 Subject: [PATCH] chore(i18n,learn): processed translations (#52000) --- .../regular-expressions/restrict-possible-usernames.md | 2 +- .../10-coding-interview-prep/rosetta-code/entropy.md | 2 +- .../5f356ed63c7807a4f1e6d054.md | 6 +++--- .../5f45a276c093334f0f6e9df4.md | 3 ++- ...problem-91-right-triangles-with-integer-coordinates.md | 4 ++-- .../regular-expressions/restrict-possible-usernames.md | 2 +- .../10-coding-interview-prep/rosetta-code/entropy.md | 2 +- .../5f356ed63c7807a4f1e6d054.md | 6 +++--- .../5f45a276c093334f0f6e9df4.md | 3 ++- ...problem-91-right-triangles-with-integer-coordinates.md | 4 ++-- .../regular-expressions/restrict-possible-usernames.md | 2 +- .../10-coding-interview-prep/rosetta-code/entropy.md | 2 +- .../5f356ed63c7807a4f1e6d054.md | 6 +++--- .../5f45a276c093334f0f6e9df4.md | 3 ++- ...problem-91-right-triangles-with-integer-coordinates.md | 4 ++-- .../regular-expressions/restrict-possible-usernames.md | 2 +- .../10-coding-interview-prep/rosetta-code/entropy.md | 2 +- .../5f356ed63c7807a4f1e6d054.md | 6 +++--- .../5f45a276c093334f0f6e9df4.md | 3 ++- ...problem-91-right-triangles-with-integer-coordinates.md | 4 ++-- .../regular-expressions/restrict-possible-usernames.md | 2 +- .../10-coding-interview-prep/rosetta-code/entropy.md | 2 +- .../5f356ed63c7807a4f1e6d054.md | 6 +++--- .../5f45a276c093334f0f6e9df4.md | 3 ++- ...problem-91-right-triangles-with-integer-coordinates.md | 4 ++-- .../regular-expressions/restrict-possible-usernames.md | 2 +- .../10-coding-interview-prep/rosetta-code/entropy.md | 2 +- .../5f356ed63c7807a4f1e6d054.md | 6 +++--- .../5f45a276c093334f0f6e9df4.md | 3 ++- ...problem-91-right-triangles-with-integer-coordinates.md | 4 ++-- .../regular-expressions/restrict-possible-usernames.md | 2 +- .../10-coding-interview-prep/rosetta-code/entropy.md | 2 +- .../5f356ed63c7807a4f1e6d054.md | 6 +++--- .../5f45a276c093334f0f6e9df4.md | 3 ++- ...problem-91-right-triangles-with-integer-coordinates.md | 4 ++-- .../basic-javascript/accessing-nested-objects.md | 2 +- .../5f356ed63c7807a4f1e6d054.md | 6 +++--- .../5f45a276c093334f0f6e9df4.md | 3 ++- .../64e4e4c4ec263b62ae7bf54d.md | 8 ++++---- .../64e4e6c86954de67a3e44ee3.md | 8 ++++---- .../64e4e6fe78b5aa67ef2fc3e7.md | 8 ++++---- .../64e4e7241f52bb682eeb8211.md | 6 +++--- .../64e4e74d0fb4f0687bf4145d.md | 2 +- .../64e4e78a7ea4a168de4e6a38.md | 4 ++-- .../64e4e7bbedb22d6939001ad3.md | 4 ++-- .../64e4eaaa9070a66aecbfe603.md | 4 ++-- .../64e4ebc7eabc5a6babd479cd.md | 4 ++-- .../64e4ecd7735a566c9266a338.md | 2 +- .../64e4eec13546c06d61a63d59.md | 4 ++-- .../64e4f01d6c72086e016a8626.md | 2 +- .../64ec89ee549ecf802de2b3e2.md | 2 +- .../64ec8f717b261e824d82d6a5.md | 2 +- .../64ec9145e424d8835a4e0f28.md | 2 +- .../64ec9282cd547785258cecf2.md | 2 +- .../64ec9343769e8f85c1e17e05.md | 2 +- .../64ec94f0de20c086e09b0fc3.md | 4 ++-- .../64ec959a76336c8767f5cd4d.md | 2 +- .../64ec96761156a187ed32b274.md | 2 +- .../64ec9b10356c2d8aa05d9ce1.md | 2 +- .../64ec9c55fdeef78bacd2fc3b.md | 2 +- .../64fac365aeb8ad70b69b366f.md | 2 +- .../64fac4d1773e7a719b1254de.md | 2 +- .../64fac6a497811572b338e5e5.md | 2 +- .../64faca774fd9fd74bc084cc9.md | 2 +- .../64facf6180824876f70a2e86.md | 2 +- .../64fad07f43a101779cb8692a.md | 2 +- .../64fad9cd2eeb1e7ca2ca8c8b.md | 2 +- .../64fadae4f2d51b7d5d8b98d8.md | 2 +- .../64fadff23375f27ff06c6d40.md | 2 +- .../64fae068bcdc9c805bd8399e.md | 2 +- .../64faedcd16a1e985c4c2dc94.md | 2 +- .../64faf0418e828c0114a558a7.md | 2 +- .../64faf65b22ad8d07df9be14d.md | 2 +- .../64faf874364ec308f875f636.md | 4 ++-- .../64fafac95328110a69bcb75f.md | 2 +- .../64fb0fa0968f2b113b2d90e9.md | 2 +- .../64fb1061ca838611ed6a7d6b.md | 2 +- .../64fb1321e189a6136d200f77.md | 2 +- .../64fb1436adef3e145b4c3501.md | 2 +- .../64fb14d890415c14f93069ce.md | 2 +- .../64fb154a7c48cd159924bb18.md | 2 +- .../64fb1c4dc0feb219149a7c7d.md | 2 +- .../64fb285637fa1e1c222033e3.md | 2 +- .../64fb29348a60361ccd45c1e2.md | 2 +- .../64fefebad99209211ec30537.md | 2 +- .../64ff0313700dad264d19dfe4.md | 2 +- .../64ff04cc33779427a6412449.md | 2 +- .../64ff068e0426eb288874ed79.md | 2 +- .../64ff23daf176a92de95f24dc.md | 2 +- .../64ff24b80431f62ec6b93f65.md | 2 +- .../65003986d17d1e1865b269c0.md | 2 +- .../650046832f92c01a35834bca.md | 2 +- .../650048b0764f9c1b798200e2.md | 2 +- .../65004ba581d03d1d5628b41c.md | 2 +- .../650300a25b6f72964ab8aca6.md | 2 +- .../65099dbd8f137d58e5c0ff16.md | 2 +- .../regular-expressions/restrict-possible-usernames.md | 2 +- .../10-coding-interview-prep/rosetta-code/entropy.md | 2 +- .../5f356ed63c7807a4f1e6d054.md | 6 +++--- .../5f45a276c093334f0f6e9df4.md | 3 ++- ...problem-91-right-triangles-with-integer-coordinates.md | 4 ++-- .../basic-javascript/accessing-nested-objects.md | 2 +- .../regular-expressions/restrict-possible-usernames.md | 2 +- .../10-coding-interview-prep/rosetta-code/entropy.md | 2 +- .../5f356ed63c7807a4f1e6d054.md | 6 +++--- .../5f45a276c093334f0f6e9df4.md | 3 ++- ...problem-91-right-triangles-with-integer-coordinates.md | 4 ++-- 107 files changed, 164 insertions(+), 154 deletions(-) diff --git a/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md b/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md index fbe1cb6fbc9..b7e0c03444f 100644 --- a/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md +++ b/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md @@ -12,7 +12,7 @@ dashedName: restrict-possible-usernames تحتاج إلى التحقق من جميع أسماء المستخدمين في قاعدة البيانات. فيما يلي بعض القواعد البسيطة التي يتعين على المستخدمين اتباعها عند إنشاء اسم المستخدم الخاص بهم. -1) يمكن أن تستخدم أسماء المستخدمين أحرف أبجدية و رقمية فقط. +1) Usernames can only use alphanumeric characters. 2) الأرقام في اسم المستخدم يجب أن تكون في النهاية. ويمكن أن يكون هناك رقما واحدا أو أكثر في النهاية. اسم المستخدم لا يمكن أن يبدأ برقم. diff --git a/curriculum/challenges/arabic/10-coding-interview-prep/rosetta-code/entropy.md b/curriculum/challenges/arabic/10-coding-interview-prep/rosetta-code/entropy.md index fa596bd4891..8a4de7902bd 100644 --- a/curriculum/challenges/arabic/10-coding-interview-prep/rosetta-code/entropy.md +++ b/curriculum/challenges/arabic/10-coding-interview-prep/rosetta-code/entropy.md @@ -10,7 +10,7 @@ dashedName: entropy Calculate the Shannon entropy H of a given input string. -Given the discreet random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: +Given the discrete random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: $H_2(X) = -\\sum\_{i=1}^n \\frac{count_i}{N} \\log_2 \\left(\\frac{count_i}{N}\\right)$ diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md index 5006ce77d74..f3f46b23696 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md @@ -9,10 +9,10 @@ dashedName: step-21 الهدف الآن هو جعل `div` لا يأخذ كامل عرض الصفحة. خاصية `width` في CSS مثالية لهذا. -You can use the `id` selector to target a specific `div` element. An id selector is defined by a name with a hash symbol directly in front of it, like this: +You can use the `id` selector to target a specific element with an `id` attribute. An `id` selector is defined by placing the hash symbol `#` directly in front of the element's `id` value. For example, if an element has the `id` of `cat` then you would target that element like this: -```css -#example-id { +```css +#cat { width: 250px; } ``` diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md index bd127e190f5..7195d377811 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md @@ -9,7 +9,7 @@ dashedName: step-73 بالتركيز على بنود القائمة وأسعارها، هناك فجوة كبيرة نسبيا بين كل سطر. -استهدف جميع عناصر `p` المتداخلة في العناصر بـ `class` يسمي `item` وقم بتعيين top و bottom margin إلى `5px`. +Use the existing selector that targets all the `p` elements nested in elements with the class named `item` and set their top and bottom margin to be `5px`. # --hints-- @@ -158,6 +158,7 @@ h1, h2 { .item p { display: inline-block; + } .flavor, .dessert { diff --git a/curriculum/challenges/arabic/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md b/curriculum/challenges/arabic/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md index 7874cbab3fc..27cb226d3da 100644 --- a/curriculum/challenges/arabic/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md +++ b/curriculum/challenges/arabic/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md @@ -8,11 +8,11 @@ dashedName: problem-91-right-triangles-with-integer-coordinates # --description-- -The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer co-ordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. +The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer coordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. a graph plotting points P (x_1, y_1) and Q(x_2, y_2) at integer coordinates that are joined to the origin O (0, 0) -There are exactly fourteen triangles containing a right angle that can be formed when each co-ordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. +There are exactly fourteen triangles containing a right angle that can be formed when each coordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. a diagram showing the 14 triangles containing a right angle that can be formed when each coordinate is between 0 and 2 diff --git a/curriculum/challenges/chinese-traditional/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md b/curriculum/challenges/chinese-traditional/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md index 9ffc94d6900..be60c9daae2 100644 --- a/curriculum/challenges/chinese-traditional/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md +++ b/curriculum/challenges/chinese-traditional/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md @@ -12,7 +12,7 @@ dashedName: restrict-possible-usernames 需要檢索數據庫中的所有用戶名。 以下是用戶在創建用戶名時必須遵守的一些簡單規則。 -1) 用戶名只能是數字字母字符。 +1) Usernames can only use alphanumeric characters. 2) 用戶名中的數字必須在最後。 數字可以有零個或多個。 用戶名不能以數字開頭。 diff --git a/curriculum/challenges/chinese-traditional/10-coding-interview-prep/rosetta-code/entropy.md b/curriculum/challenges/chinese-traditional/10-coding-interview-prep/rosetta-code/entropy.md index fa596bd4891..8a4de7902bd 100644 --- a/curriculum/challenges/chinese-traditional/10-coding-interview-prep/rosetta-code/entropy.md +++ b/curriculum/challenges/chinese-traditional/10-coding-interview-prep/rosetta-code/entropy.md @@ -10,7 +10,7 @@ dashedName: entropy Calculate the Shannon entropy H of a given input string. -Given the discreet random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: +Given the discrete random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: $H_2(X) = -\\sum\_{i=1}^n \\frac{count_i}{N} \\log_2 \\left(\\frac{count_i}{N}\\right)$ diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md index 9523891cb92..6ca1d4abe21 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md @@ -9,10 +9,10 @@ dashedName: step-21 現在的目標是使這個 `div` 不佔用整個頁面的寬度。 CSS 的 `width` 屬性在這方面是完美的。 -You can use the `id` selector to target a specific `div` element. An id selector is defined by a name with a hash symbol directly in front of it, like this: +You can use the `id` selector to target a specific element with an `id` attribute. An `id` selector is defined by placing the hash symbol `#` directly in front of the element's `id` value. For example, if an element has the `id` of `cat` then you would target that element like this: -```css -#example-id { +```css +#cat { width: 250px; } ``` diff --git a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md index 757d53ef99f..a460abc80ad 100644 --- a/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md +++ b/curriculum/challenges/chinese-traditional/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md @@ -9,7 +9,7 @@ dashedName: step-73 關注菜單上的項目和價格,每一行之間有相當大的差距。 -定位所有嵌套在 `class` 名爲 `item` 的元素中的 `p` 元素,並將它們的頂部和底部 margin 設置爲 `5px`。 +Use the existing selector that targets all the `p` elements nested in elements with the class named `item` and set their top and bottom margin to be `5px`. # --hints-- @@ -158,6 +158,7 @@ h1, h2 { .item p { display: inline-block; + } .flavor, .dessert { diff --git a/curriculum/challenges/chinese-traditional/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md b/curriculum/challenges/chinese-traditional/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md index 7874cbab3fc..27cb226d3da 100644 --- a/curriculum/challenges/chinese-traditional/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md +++ b/curriculum/challenges/chinese-traditional/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md @@ -8,11 +8,11 @@ dashedName: problem-91-right-triangles-with-integer-coordinates # --description-- -The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer co-ordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. +The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer coordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. a graph plotting points P (x_1, y_1) and Q(x_2, y_2) at integer coordinates that are joined to the origin O (0, 0) -There are exactly fourteen triangles containing a right angle that can be formed when each co-ordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. +There are exactly fourteen triangles containing a right angle that can be formed when each coordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. a diagram showing the 14 triangles containing a right angle that can be formed when each coordinate is between 0 and 2 diff --git a/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md b/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md index 8482570cead..2ca6baeca8f 100644 --- a/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md +++ b/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md @@ -12,7 +12,7 @@ dashedName: restrict-possible-usernames 需要检索数据库中的所有用户名。 以下是用户在创建用户名时必须遵守的一些简单规则。 -1) 用户名只能是数字字母字符。 +1) Usernames can only use alphanumeric characters. 2) 用户名中的数字必须在最后。 数字可以有零个或多个。 用户名不能以数字开头。 diff --git a/curriculum/challenges/chinese/10-coding-interview-prep/rosetta-code/entropy.md b/curriculum/challenges/chinese/10-coding-interview-prep/rosetta-code/entropy.md index fa596bd4891..8a4de7902bd 100644 --- a/curriculum/challenges/chinese/10-coding-interview-prep/rosetta-code/entropy.md +++ b/curriculum/challenges/chinese/10-coding-interview-prep/rosetta-code/entropy.md @@ -10,7 +10,7 @@ dashedName: entropy Calculate the Shannon entropy H of a given input string. -Given the discreet random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: +Given the discrete random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: $H_2(X) = -\\sum\_{i=1}^n \\frac{count_i}{N} \\log_2 \\left(\\frac{count_i}{N}\\right)$ diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md index 0f8df87677b..7395cd9ac58 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md @@ -9,10 +9,10 @@ dashedName: step-21 现在的目标是使这个 `div` 不占用整个页面的宽度。 CSS 的 `width` 属性在这方面是完美的。 -You can use the `id` selector to target a specific `div` element. An id selector is defined by a name with a hash symbol directly in front of it, like this: +You can use the `id` selector to target a specific element with an `id` attribute. An `id` selector is defined by placing the hash symbol `#` directly in front of the element's `id` value. For example, if an element has the `id` of `cat` then you would target that element like this: -```css -#example-id { +```css +#cat { width: 250px; } ``` diff --git a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md index 7d16da59a5e..1dd69e3dbf2 100644 --- a/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md +++ b/curriculum/challenges/chinese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md @@ -9,7 +9,7 @@ dashedName: step-73 关注菜单上的项目和价格,每一行之间有相当大的差距。 -定位所有嵌套在 `class` 名为 `item` 的元素中的 `p` 元素,并将它们的顶部和底部 margin 设置为 `5px`。 +Use the existing selector that targets all the `p` elements nested in elements with the class named `item` and set their top and bottom margin to be `5px`. # --hints-- @@ -158,6 +158,7 @@ h1, h2 { .item p { display: inline-block; + } .flavor, .dessert { diff --git a/curriculum/challenges/chinese/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md b/curriculum/challenges/chinese/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md index 7874cbab3fc..27cb226d3da 100644 --- a/curriculum/challenges/chinese/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md +++ b/curriculum/challenges/chinese/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md @@ -8,11 +8,11 @@ dashedName: problem-91-right-triangles-with-integer-coordinates # --description-- -The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer co-ordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. +The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer coordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. a graph plotting points P (x_1, y_1) and Q(x_2, y_2) at integer coordinates that are joined to the origin O (0, 0) -There are exactly fourteen triangles containing a right angle that can be formed when each co-ordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. +There are exactly fourteen triangles containing a right angle that can be formed when each coordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. a diagram showing the 14 triangles containing a right angle that can be formed when each coordinate is between 0 and 2 diff --git a/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md b/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md index 40380510cc6..92e342c4a77 100644 --- a/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md +++ b/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md @@ -12,7 +12,7 @@ Los nombres de usuario se utilizan en todas partes en Internet. Son los que dan Se necesita comprobar todos los nombres de usuario en una base de datos. Estas son algunas reglas simples que los usuarios deben seguir al crear su nombre de usuario. -1) Los nombres de usuario sólo pueden utilizar caracteres alfanuméricos. +1) Usernames can only use alphanumeric characters. 2) Los únicos números del nombre de usuario tienen que estar al final. Puede tener un cero o más al final. El nombre de usuario no puede iniciar con un número. diff --git a/curriculum/challenges/espanol/10-coding-interview-prep/rosetta-code/entropy.md b/curriculum/challenges/espanol/10-coding-interview-prep/rosetta-code/entropy.md index 672471fa8d3..2506b561ad1 100644 --- a/curriculum/challenges/espanol/10-coding-interview-prep/rosetta-code/entropy.md +++ b/curriculum/challenges/espanol/10-coding-interview-prep/rosetta-code/entropy.md @@ -10,7 +10,7 @@ dashedName: entropy Calcula la Shannon entropy H de la entrada de una string dada. -Dada la variable aleatoria discreta $X$ que es un string de $N$ "símbolos" (caracteres totales) constando de $n$ caracteres diferentes (n=2 para binario), la Shannon entropy de X en bits/symbol es: +Given the discrete random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: $H_2(X) = -\\sum\_{i=1}^n \\frac{count_i}{N} \\log_2 \\left(\\frac{count_i}{N}\\right)$ diff --git a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md index b653a91de55..54e19234318 100644 --- a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md +++ b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md @@ -9,10 +9,10 @@ dashedName: step-21 El objetivo ahora, es hacer que él `div` no ocupe todo el ancho de la página. La propiedad CSS `width`, es perfecta para esto. -You can use the `id` selector to target a specific `div` element. An id selector is defined by a name with a hash symbol directly in front of it, like this: +You can use the `id` selector to target a specific element with an `id` attribute. An `id` selector is defined by placing the hash symbol `#` directly in front of the element's `id` value. For example, if an element has the `id` of `cat` then you would target that element like this: -```css -#example-id { +```css +#cat { width: 250px; } ``` diff --git a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md index d5b1ef59eb6..b848ddf581f 100644 --- a/curriculum/challenges/espanol/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md +++ b/curriculum/challenges/espanol/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md @@ -9,7 +9,7 @@ dashedName: step-73 Enfocándose en los elementos del menú y los precios, hay un espacio considerablemente grande entre cada línea. -Céntrate en todos los elementos `p`, anidados dentro de cualquier elemento con un atributo `class` con el valor `item` y dales un margen superior (margin top) y un margen inferior (margin bottom) dé `5px`. +Use the existing selector that targets all the `p` elements nested in elements with the class named `item` and set their top and bottom margin to be `5px`. # --hints-- @@ -158,6 +158,7 @@ h1, h2 { .item p { display: inline-block; + } .flavor, .dessert { diff --git a/curriculum/challenges/espanol/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md b/curriculum/challenges/espanol/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md index 7874cbab3fc..27cb226d3da 100644 --- a/curriculum/challenges/espanol/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md +++ b/curriculum/challenges/espanol/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md @@ -8,11 +8,11 @@ dashedName: problem-91-right-triangles-with-integer-coordinates # --description-- -The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer co-ordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. +The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer coordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. a graph plotting points P (x_1, y_1) and Q(x_2, y_2) at integer coordinates that are joined to the origin O (0, 0) -There are exactly fourteen triangles containing a right angle that can be formed when each co-ordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. +There are exactly fourteen triangles containing a right angle that can be formed when each coordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. a diagram showing the 14 triangles containing a right angle that can be formed when each coordinate is between 0 and 2 diff --git a/curriculum/challenges/german/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md b/curriculum/challenges/german/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md index 4577050328a..1b353b8c992 100644 --- a/curriculum/challenges/german/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md +++ b/curriculum/challenges/german/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md @@ -12,7 +12,7 @@ Nutzernamen werden überall im Internet verwendet. Sie geben den Nutzern eine ei Du musst alle Benutzernamen in einer Datenbank überprüfen. Hier sind einige einfache Regeln, die du bei der Erstellung deines Benutzernamens beachten musst. -1) Nutzernamen dürfen nur alphanumerische Zeichen enthalten. +1) Usernames can only use alphanumeric characters. 2) Die einzigen Zahlen im Benutzernamen müssen am Ende stehen. Am Ende können es null oder mehr sein. Der Benutzername darf nicht mit einer Zahl beginnen. diff --git a/curriculum/challenges/german/10-coding-interview-prep/rosetta-code/entropy.md b/curriculum/challenges/german/10-coding-interview-prep/rosetta-code/entropy.md index 62f5f5533f0..830e433733b 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/rosetta-code/entropy.md +++ b/curriculum/challenges/german/10-coding-interview-prep/rosetta-code/entropy.md @@ -10,7 +10,7 @@ dashedName: entropy Calculate the Shannon entropy H of a given input string. -Given the discreet random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: +Given the discrete random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: $H_2(X) = -\\sum\_{i=1}^n \\frac{count_i}{N} \\log_2 \\left(\\frac{count_i}{N}\\right)$ diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md index b1ce9d91ac0..c63771ad5bf 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md @@ -9,10 +9,10 @@ dashedName: step-21 Jetzt wollen wir, dass `div` nicht die gesamte Breite der Seite in Anspruch nimmt. Die CSS `width`-Eigenschaft ist dafür perfekt geeignet. -You can use the `id` selector to target a specific `div` element. An id selector is defined by a name with a hash symbol directly in front of it, like this: +You can use the `id` selector to target a specific element with an `id` attribute. An `id` selector is defined by placing the hash symbol `#` directly in front of the element's `id` value. For example, if an element has the `id` of `cat` then you would target that element like this: -```css -#example-id { +```css +#cat { width: 250px; } ``` diff --git a/curriculum/challenges/german/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md b/curriculum/challenges/german/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md index 2b1ca356fbf..d50e6915370 100644 --- a/curriculum/challenges/german/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md +++ b/curriculum/challenges/german/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md @@ -9,7 +9,7 @@ dashedName: step-73 Wenn man sich auf die Menüpunkte und Preise konzentriert, gibt es zwischen den einzelnen Zeilen eine große Lücke. -Wähle alle `p`-Elemente aus, die in `class`-Elementen namens `item` eingebettet sind und setze deren Abstand zum oberen und unteren Seitenrand auf `5px`. +Use the existing selector that targets all the `p` elements nested in elements with the class named `item` and set their top and bottom margin to be `5px`. # --hints-- @@ -158,6 +158,7 @@ h1, h2 { .item p { display: inline-block; + } .flavor, .dessert { diff --git a/curriculum/challenges/german/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md b/curriculum/challenges/german/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md index 7874cbab3fc..27cb226d3da 100644 --- a/curriculum/challenges/german/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md +++ b/curriculum/challenges/german/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md @@ -8,11 +8,11 @@ dashedName: problem-91-right-triangles-with-integer-coordinates # --description-- -The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer co-ordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. +The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer coordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. a graph plotting points P (x_1, y_1) and Q(x_2, y_2) at integer coordinates that are joined to the origin O (0, 0) -There are exactly fourteen triangles containing a right angle that can be formed when each co-ordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. +There are exactly fourteen triangles containing a right angle that can be formed when each coordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. a diagram showing the 14 triangles containing a right angle that can be formed when each coordinate is between 0 and 2 diff --git a/curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md b/curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md index 346618e40ab..620f07b5de7 100644 --- a/curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md +++ b/curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md @@ -12,7 +12,7 @@ I nomi utente sono utilizzati ovunque su Internet. Sono ciò che danno agli uten È necessario controllare tutti i nomi utente in un database. Ecco alcune semplici regole che gli utenti devono seguire durante la creazione del loro nome utente. -1) I nomi utente possono usare solo caratteri alfanumerici. +1) Usernames can only use alphanumeric characters. 2) Gli unici numeri nel nome utente devono essere alla fine. Ce ne possono essere zero o più alla fine. Il nome utente non può iniziare con un numero. diff --git a/curriculum/challenges/italian/10-coding-interview-prep/rosetta-code/entropy.md b/curriculum/challenges/italian/10-coding-interview-prep/rosetta-code/entropy.md index f2c53c5b7bd..541353711c6 100644 --- a/curriculum/challenges/italian/10-coding-interview-prep/rosetta-code/entropy.md +++ b/curriculum/challenges/italian/10-coding-interview-prep/rosetta-code/entropy.md @@ -10,7 +10,7 @@ dashedName: entropy Calcola l'entropia H di Shannon di una data stringa. -Data la variabile casuale discreta $X$ che è una stringa di $N$ "simboli" (caratteri totali) composta da $n$ caratteri diversi (n=2 per il binario), l'entropia di Shannon di X in bit/simbolo è: +Given the discrete random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: $H_2(X) = -\\sum\_{i=1}^n \\frac{count_i}{N} \\log_2 \\left(\\frac{count_i}{N}\\right)$ diff --git a/curriculum/challenges/italian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md b/curriculum/challenges/italian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md index e9a8f90cef5..f044179da16 100644 --- a/curriculum/challenges/italian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md +++ b/curriculum/challenges/italian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md @@ -9,10 +9,10 @@ dashedName: step-21 Adesso, l'obiettivo è far sì che `div` non occupi l'intera larghezza della pagina. La proprietà CSS `width` è perfetta per questo. -Puoi utilizzare un selettore di `id` per selezionare uno specifico elemento `div`. Un selettore di id viene definito da un nome preceduto da un cancelletto, in questo modo: +You can use the `id` selector to target a specific element with an `id` attribute. An `id` selector is defined by placing the hash symbol `#` directly in front of the element's `id` value. For example, if an element has the `id` of `cat` then you would target that element like this: -```css -#example-id { +```css +#cat { width: 250px; } ``` diff --git a/curriculum/challenges/italian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md b/curriculum/challenges/italian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md index 8b1ea075169..a3d3044e0d1 100644 --- a/curriculum/challenges/italian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md +++ b/curriculum/challenges/italian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md @@ -9,7 +9,7 @@ dashedName: step-73 Se consideriamo le voci sul menu e i prezzi, c'è un divario abbastanza grande tra ogni linea. -Assegna alle proprietà margin-top e margin-bottom il valore `5px` per tutti gli elementi `p` annidati in elementi di classe `item`. +Use the existing selector that targets all the `p` elements nested in elements with the class named `item` and set their top and bottom margin to be `5px`. # --hints-- @@ -158,6 +158,7 @@ h1, h2 { .item p { display: inline-block; + } .flavor, .dessert { diff --git a/curriculum/challenges/italian/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md b/curriculum/challenges/italian/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md index de09efae54b..5651bd00646 100644 --- a/curriculum/challenges/italian/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md +++ b/curriculum/challenges/italian/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md @@ -8,11 +8,11 @@ dashedName: problem-91-right-triangles-with-integer-coordinates # --description-- -I punti ${P}(x_1, y_1)$ e ${Q}(x_2, y_2)$ sono tracciati con coordinate intere e sono uniti all'origine, ${O}(0, 0)$, per formare ${\Delta}OPQ$. +The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer coordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. un grafico con punti P (x_1, y_1) e Q(x_2, y_2) di coordinate intere unite all'origine O (0, 0) -Ci sono esattamente quattordici triangoli aventi un angolo retto che possono essere formati con coordinate comprese tra 0 e 2 inclusi; cioè, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. +There are exactly fourteen triangles containing a right angle that can be formed when each coordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. un diagramma che mostra i 14 triangoli contenenti un angolo retto che possono essere formati quando ciascuna coordinata è compresa tra 0 e 2 diff --git a/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md b/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md index 772f0fbb9ae..e494e4d013a 100644 --- a/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md +++ b/curriculum/challenges/japanese/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md @@ -12,7 +12,7 @@ dashedName: restrict-possible-usernames データベース内ですべてのユーザー名を確認する必要があります。 ユーザー名を作成する際に、ユーザーが従わなければならない簡単なルールをいくつか示します。 -1) ユーザー名には英数字のみが使用できます。 +1) Usernames can only use alphanumeric characters. 2) ユーザー名に数字を付ける場合は末尾にのみ付けることができます。 末尾には 0 個以上の数字を付けることができます。 ユーザー名を数字で始めることはできません。 diff --git a/curriculum/challenges/japanese/10-coding-interview-prep/rosetta-code/entropy.md b/curriculum/challenges/japanese/10-coding-interview-prep/rosetta-code/entropy.md index 29dd15741a8..34770becda6 100644 --- a/curriculum/challenges/japanese/10-coding-interview-prep/rosetta-code/entropy.md +++ b/curriculum/challenges/japanese/10-coding-interview-prep/rosetta-code/entropy.md @@ -10,7 +10,7 @@ dashedName: entropy 与えられた入力文字列のシャノンエントロピーHを計算します。 -$n$ の異なる文字 (2進数でn=2) からなる$N$「シンボル」文字列 (合計文字) である離散確率変数 $X$ の場合、Xのシャノンエントロピーをビット/シンボルで表すと以下のようになります。 +Given the discrete random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: $H_2(X) = -\\sum\_{i=1}^n \\frac{count_i}{N} \\log_2 \\left(\\frac{count_i}{N}\\right)$ diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md index 2e84025df18..e98c29d2204 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md @@ -9,10 +9,10 @@ dashedName: step-21 次の目標は、`div` がページの幅全体に広がらないようにすることです。 そうするには CSS の `width` プロパティが最適です。 -You can use the `id` selector to target a specific `div` element. An id selector is defined by a name with a hash symbol directly in front of it, like this: +You can use the `id` selector to target a specific element with an `id` attribute. An `id` selector is defined by placing the hash symbol `#` directly in front of the element's `id` value. For example, if an element has the `id` of `cat` then you would target that element like this: -```css -#example-id { +```css +#cat { width: 250px; } ``` diff --git a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md index c0789dce095..a80a8fb01af 100644 --- a/curriculum/challenges/japanese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md +++ b/curriculum/challenges/japanese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md @@ -9,7 +9,7 @@ dashedName: step-73 メニューの商品と価格に注目すると、各行の間にかなり大きな隙間があります。 -`item` という名前の `class` をもつ要素の中にネストされているすべての `p` 要素を対象に、その上下のマージンを `5px` に設定してください。 +Use the existing selector that targets all the `p` elements nested in elements with the class named `item` and set their top and bottom margin to be `5px`. # --hints-- @@ -158,6 +158,7 @@ h1, h2 { .item p { display: inline-block; + } .flavor, .dessert { diff --git a/curriculum/challenges/japanese/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md b/curriculum/challenges/japanese/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md index 7874cbab3fc..27cb226d3da 100644 --- a/curriculum/challenges/japanese/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md +++ b/curriculum/challenges/japanese/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md @@ -8,11 +8,11 @@ dashedName: problem-91-right-triangles-with-integer-coordinates # --description-- -The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer co-ordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. +The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer coordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. a graph plotting points P (x_1, y_1) and Q(x_2, y_2) at integer coordinates that are joined to the origin O (0, 0) -There are exactly fourteen triangles containing a right angle that can be formed when each co-ordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. +There are exactly fourteen triangles containing a right angle that can be formed when each coordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. a diagram showing the 14 triangles containing a right angle that can be formed when each coordinate is between 0 and 2 diff --git a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-nested-objects.md b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-nested-objects.md index 4c838c551e9..d10346cf963 100644 --- a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-nested-objects.md +++ b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-nested-objects.md @@ -57,7 +57,7 @@ assert.match(code, /myStorage\.car\.inside/); assert.match(code, /const\s+gloveBoxContents\s*=/); ``` -You should not change the `myStorage` object. +Você não deve alterar o objeto `myStorage`. ```js const expectedMyStorage = { diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md index 6c3555d7fca..d5a51d793f6 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md @@ -9,10 +9,10 @@ dashedName: step-21 Agora o objetivo é fazer a `div` não ocupar toda a largura da página. A propriedade CSS `width` é perfeita para isso. -Você deve usar o seletor `id` para marcar um elemento `div` específico. Um seletor de id é definido por um nome com um símbolo de hashtag diretamente na frente dele, como este: +Você pode usar o seletor `id` para marcar um elemento específico com um atributo `id`. Um seletor `id` é definido colocando o símbolo de hashtag, `#`, diretamente na frente do valor do `id` do elemento. Por exemplo, se um elemento tem o `id` `cat`, você selecionaria esse elemento assim: -```css -#example-id { +```css +#cat { width: 250px; } ``` diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md index ae1362104f4..921f0c24e9c 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md @@ -9,7 +9,7 @@ dashedName: step-73 Se nos concentrarmos nos itens do menu e nos preços, há um espaço relativamente grande entre cada linha. -Com o foco em todos os elementos `p` dentro de elementos com a `class` definida como `item`, defina a margem superior e inferior para que seja `5px`. +Use o seletor existente para ter em foco todos os elementos `p` dentro de elementos com a classe definida como `item`, defina a margem superior e inferior para que seja `5px`. # --hints-- @@ -158,6 +158,7 @@ h1, h2 { .item p { display: inline-block; + } .flavor, .dessert { diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e4c4ec263b62ae7bf54d.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e4c4ec263b62ae7bf54d.md index 4b042aa87ba..94b68adabdd 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e4c4ec263b62ae7bf54d.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e4c4ec263b62ae7bf54d.md @@ -1,6 +1,6 @@ --- id: 64e4e4c4ec263b62ae7bf54d -title: Step 1 +title: Passo 1 challengeType: 0 dashedName: step-1 --- @@ -21,7 +21,7 @@ You should use `getElementById()` to access the `task-form` element. assert.match(code, /document\.getElementById\(\s*('|"|`)task\-form\1\);?/) ``` -You should assign the `task-form` element to the variable `taskForm`. Don't forget to use `const` to declare the variable. +You should assign the `task-form` element to the variable `taskForm`. Não se esqueça de usar `const` para declarar a variável. ```js assert.match(code, /const\s+taskForm\s*=\s*document\.getElementById\(\s*('|"|`)task\-form\1\);?/) @@ -33,7 +33,7 @@ You should use `getElementById()` to access the `confirm-close-dialog` element. assert.match(code, /document\.getElementById\(\s*('|"|`)confirm\-close\-dialog\1\);?/) ``` -You should assign the `confirm-close-dialog` element to the variable `confirmCloseDialog`. Don't forget to use `const` to declare the variable. +You should assign the `confirm-close-dialog` element to the variable `confirmCloseDialog`. Não se esqueça de usar `const` para declarar a variável. ```js assert.match(code, /const\s+confirmCloseDialog\s*=\s*document\.getElementById\(\s*('|"|`)confirm\-close\-dialog\1\);?/) @@ -45,7 +45,7 @@ You should use `getElementById()` to access the `open-task-form-btn` element. assert.match(code, /document\.getElementById\(\s*('|"|`)open\-task\-form\-btn\1\);?/) ``` -You should assign the `open-task-form-btn` element to the variable `openTaskFormBtn`. Don't forget to use `const` to declare the variable. +You should assign the `open-task-form-btn` element to the variable `openTaskFormBtn`. Não se esqueça de usar `const` para declarar a variável. ```js assert.match(code, /const\s+openTaskFormBtn\s*=\s*document\.getElementById\(\s*('|"|`)open\-task\-form\-btn\1\);?/) diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e6c86954de67a3e44ee3.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e6c86954de67a3e44ee3.md index 32310409728..fdd0da327af 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e6c86954de67a3e44ee3.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e6c86954de67a3e44ee3.md @@ -1,6 +1,6 @@ --- id: 64e4e6c86954de67a3e44ee3 -title: Step 2 +title: Passo 2 challengeType: 0 dashedName: step-2 --- @@ -17,7 +17,7 @@ You should use `getElementById()` to access the `close-task-form-btn` element. assert.match(code, /document\.getElementById\(\s*('|"|`)close\-task\-form\-btn\1\);?/) ``` -You should assign the `close-task-form-btn` element to the variable `closeTaskFormBtn`. Don't forget to use `const` to declare the variable. +You should assign the `close-task-form-btn` element to the variable `closeTaskFormBtn`. Não se esqueça de usar `const` para declarar a variável. ```js assert.match(code, /const\s+closeTaskFormBtn\s*=\s*document\.getElementById\(\s*('|"|`)close\-task\-form\-btn\1\);?/) @@ -29,7 +29,7 @@ You should use `getElementById()` to access the `add-or-update-task-btn` element assert.match(code, /document\.getElementById\(\s*('|"|`)add\-or\-update\-task\-btn\1\);?/) ``` -You should assign the `add-or-update-task-btn` element to the variable `addOrUpdateTaskBtn`. Don't forget to use `const` to declare the variable. +You should assign the `add-or-update-task-btn` element to the variable `addOrUpdateTaskBtn`. Não se esqueça de usar `const` para declarar a variável. ```js assert.match(code, /const\s+addOrUpdateTaskBtn\s*=\s*document\.getElementById\(\s*('|"|`)add\-or\-update\-task\-btn\1\);?/) @@ -41,7 +41,7 @@ You should use `getElementById()` to access the `cancel-btn` element. assert.match(code, /document\.getElementById\(\s*('|"|`)cancel\-btn\1\);?/) ``` -You should assign the `cancel-btn` element to the variable `cancelBtn`. Don't forget to use `const` to declare the variable. +You should assign the `cancel-btn` element to the variable `cancelBtn`. Não se esqueça de usar `const` para declarar a variável. ```js assert.match(code, /const\s+cancelBtn\s*=\s*document\.getElementById\(\s*('|"|`)cancel\-btn\1\);?/) diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e6fe78b5aa67ef2fc3e7.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e6fe78b5aa67ef2fc3e7.md index 17fc6b76517..8c27eb62254 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e6fe78b5aa67ef2fc3e7.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e6fe78b5aa67ef2fc3e7.md @@ -1,6 +1,6 @@ --- id: 64e4e6fe78b5aa67ef2fc3e7 -title: Step 3 +title: Passo 3 challengeType: 0 dashedName: step-3 --- @@ -17,7 +17,7 @@ You should use `getElementById()` to access the `discard-btn` element. assert.match(code, /document\.getElementById\(\s*('|"|`)discard\-btn\1\);?/) ``` -You should assign the `discard-btn` element to the variable `discardBtn`. Don't forget to use `const` to declare the variable. +You should assign the `discard-btn` element to the variable `discardBtn`. Não se esqueça de usar `const` para declarar a variável. ```js assert.match(code, /const\s+discardBtn\s*=\s*document\.getElementById\(\s*('|"|`)discard\-btn\1\);?/) @@ -29,7 +29,7 @@ You should use `getElementById()` to access the `tasks-container` element. assert.match(code, /document\.getElementById\(\s*('|"|`)tasks\-container\1\);?/) ``` -You should assign the `tasks-container` element to the variable `tasksContainer`. Don't forget to use `const` to declare the variable. +You should assign the `tasks-container` element to the variable `tasksContainer`. Não se esqueça de usar `const` para declarar a variável. ```js assert.match(code, /const\s+tasksContainer\s*=\s*document\.getElementById\(\s*('|"|`)tasks\-container\1\);?/) @@ -41,7 +41,7 @@ You should use `getElementById()` to access the `title-input` element. assert.match(code, /document\.getElementById\(\s*('|"|`)title\-input\1\);?/) ``` -You should assign the `title-input` element to the variable `titleInput`. Don't forget to use `const` to declare the variable. +You should assign the `title-input` element to the variable `titleInput`. Não se esqueça de usar `const` para declarar a variável. ```js assert.match(code, /const\s+titleInput\s*=\s*document\.getElementById\(\s*('|"|`)title\-input\1\);?/) diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e7241f52bb682eeb8211.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e7241f52bb682eeb8211.md index 6e543d36acc..c5fedd75b65 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e7241f52bb682eeb8211.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e7241f52bb682eeb8211.md @@ -1,6 +1,6 @@ --- id: 64e4e7241f52bb682eeb8211 -title: Step 4 +title: Passo 4 challengeType: 0 dashedName: step-4 --- @@ -17,7 +17,7 @@ You should use `getElementById()` to access the `date-input` element. assert.match(code, /document\.getElementById\(\s*('|"|`)date\-input\1\);?/) ``` -You should assign the `date-input` element to the variable `dateInput`. Don't forget to use `const` to declare the variable. +You should assign the `date-input` element to the variable `dateInput`. Não se esqueça de usar `const` para declarar a variável. ```js assert.match(code, /const\s+dateInput\s*=\s*document\.getElementById\(\s*('|"|`)date\-input\1\);?/) @@ -29,7 +29,7 @@ You should use `getElementById()` to access the `description-input` element. assert.match(code, /document\.getElementById\(\s*('|"|`)description\-input\1\);?/) ``` -You should assign the `description-input` element to the variable `descriptionInput`. Don't forget to use `const` to declare the variable. +You should assign the `description-input` element to the variable `descriptionInput`. Não se esqueça de usar `const` para declarar a variável. ```js assert.match(code, /const\s+descriptionInput\s*=\s*document\.getElementById\(\s*('|"|`)description\-input\1\);?/) diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e74d0fb4f0687bf4145d.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e74d0fb4f0687bf4145d.md index 6f0cd6e9fc4..3cbaae5ddc0 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e74d0fb4f0687bf4145d.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e74d0fb4f0687bf4145d.md @@ -1,6 +1,6 @@ --- id: 64e4e74d0fb4f0687bf4145d -title: Step 5 +title: Passo 5 challengeType: 0 dashedName: step-5 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e78a7ea4a168de4e6a38.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e78a7ea4a168de4e6a38.md index 7eba2896bf4..450feeaf4ba 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e78a7ea4a168de4e6a38.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e78a7ea4a168de4e6a38.md @@ -1,6 +1,6 @@ --- id: 64e4e78a7ea4a168de4e6a38 -title: Step 6 +title: Passo 6 challengeType: 0 dashedName: step-6 --- @@ -21,7 +21,7 @@ You should call the `addEventListener()` method on your `openTaskFormBtn` variab assert.match(code, /openTaskFormBtn\.addEventListener\(/) ``` -Your event listener should listen for a `click` event. +O "ouvinte" de evento deve "ouvir" o evento de `click`. ```js assert.match(code, /openTaskFormBtn\.addEventListener\(('|"|`)click\1/) diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e7bbedb22d6939001ad3.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e7bbedb22d6939001ad3.md index 6a29158134e..e1e588b97f0 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e7bbedb22d6939001ad3.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4e7bbedb22d6939001ad3.md @@ -1,6 +1,6 @@ --- id: 64e4e7bbedb22d6939001ad3 -title: Step 7 +title: Passo 7 challengeType: 0 dashedName: step-7 --- @@ -19,7 +19,7 @@ You should call the `addEventListener()` method on your `closeTaskFormBtn` varia assert.match(code, /closeTaskFormBtn\.addEventListener\(/) ``` -Your event listener should listen for a `click` event. +O "ouvinte" de evento deve "ouvir" o evento de `click`. ```js assert.match(code, /closeTaskFormBtn\.addEventListener\(('|"|`)click\1/) diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4eaaa9070a66aecbfe603.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4eaaa9070a66aecbfe603.md index 311984043a0..234c4f2ce8e 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4eaaa9070a66aecbfe603.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4eaaa9070a66aecbfe603.md @@ -1,6 +1,6 @@ --- id: 64e4eaaa9070a66aecbfe603 -title: Step 8 +title: Passo 8 challengeType: 0 dashedName: step-8 --- @@ -21,7 +21,7 @@ You should call the `addEventListener()` method on your `cancelBtn` variable. assert.match(code, /cancelBtn\.addEventListener\(/) ``` -Your event listener should listen for a `click` event. +O "ouvinte" de evento deve "ouvir" o evento de `click`. ```js assert.match(code, /cancelBtn\.addEventListener\(('|"|`)click\1/) diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4ebc7eabc5a6babd479cd.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4ebc7eabc5a6babd479cd.md index 66a40c9771b..b6fc04e1153 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4ebc7eabc5a6babd479cd.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4ebc7eabc5a6babd479cd.md @@ -1,6 +1,6 @@ --- id: 64e4ebc7eabc5a6babd479cd -title: Step 9 +title: Passo 9 challengeType: 0 dashedName: step-9 --- @@ -19,7 +19,7 @@ You should call the `addEventListener()` method on your `discardBtn` variable. assert.match(code, /discardBtn\.addEventListener\(/) ``` -Your event listener should listen for a `click` event. +O "ouvinte" de evento deve "ouvir" o evento de `click`. ```js assert.match(code, /discardBtn\.addEventListener\(('|"|`)click\1/) diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4ecd7735a566c9266a338.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4ecd7735a566c9266a338.md index f4002dc0937..95e8cffe03a 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4ecd7735a566c9266a338.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4ecd7735a566c9266a338.md @@ -1,6 +1,6 @@ --- id: 64e4ecd7735a566c9266a338 -title: Step 10 +title: Passo 10 challengeType: 0 dashedName: step-10 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4eec13546c06d61a63d59.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4eec13546c06d61a63d59.md index 148e52f3e93..9f6ca0d1baa 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4eec13546c06d61a63d59.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4eec13546c06d61a63d59.md @@ -1,6 +1,6 @@ --- id: 64e4eec13546c06d61a63d59 -title: Step 11 +title: Passo 10 challengeType: 0 dashedName: step-11 --- @@ -11,7 +11,7 @@ You need to determine whether the task being added already exists or not. If it `findIndex` is an array method that lets find the index of the first element in an array that satisfies a given testing function. -Here's an example: +Exemplo: ```js const numbers = [3, 1, 5, 6, 10, 9, 8]; diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4f01d6c72086e016a8626.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4f01d6c72086e016a8626.md index 10826de6f17..fcef3552281 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4f01d6c72086e016a8626.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64e4f01d6c72086e016a8626.md @@ -1,6 +1,6 @@ --- id: 64e4f01d6c72086e016a8626 -title: Step 12 +title: Passo 12 challengeType: 0 dashedName: step-12 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec89ee549ecf802de2b3e2.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec89ee549ecf802de2b3e2.md index 764de1b0918..218e5d2eae8 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec89ee549ecf802de2b3e2.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec89ee549ecf802de2b3e2.md @@ -1,6 +1,6 @@ --- id: 64ec89ee549ecf802de2b3e2 -title: Step 14 +title: Passo 14 challengeType: 0 dashedName: step-14 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec8f717b261e824d82d6a5.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec8f717b261e824d82d6a5.md index 3d009188d81..92b454a077d 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec8f717b261e824d82d6a5.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec8f717b261e824d82d6a5.md @@ -1,6 +1,6 @@ --- id: 64ec8f717b261e824d82d6a5 -title: Step 15 +title: Passo 15 challengeType: 0 dashedName: step-15 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9145e424d8835a4e0f28.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9145e424d8835a4e0f28.md index f1202bb93fe..cb05f54c228 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9145e424d8835a4e0f28.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9145e424d8835a4e0f28.md @@ -1,6 +1,6 @@ --- id: 64ec9145e424d8835a4e0f28 -title: Step 16 +title: Passo 16 challengeType: 0 dashedName: step-16 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9282cd547785258cecf2.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9282cd547785258cecf2.md index 06bdd7c6ae5..3293f6b4f1f 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9282cd547785258cecf2.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9282cd547785258cecf2.md @@ -1,6 +1,6 @@ --- id: 64ec9282cd547785258cecf2 -title: Step 17 +title: Passo 17 challengeType: 0 dashedName: step-17 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9343769e8f85c1e17e05.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9343769e8f85c1e17e05.md index b5115f99a51..41e8aa649f3 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9343769e8f85c1e17e05.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9343769e8f85c1e17e05.md @@ -1,6 +1,6 @@ --- id: 64ec9343769e8f85c1e17e05 -title: Step 18 +title: Passo 18 challengeType: 0 dashedName: step-18 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec94f0de20c086e09b0fc3.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec94f0de20c086e09b0fc3.md index 81dd3530420..57b5132c275 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec94f0de20c086e09b0fc3.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec94f0de20c086e09b0fc3.md @@ -1,6 +1,6 @@ --- id: 64ec94f0de20c086e09b0fc3 -title: Step 19 +title: Passo 19 challengeType: 0 dashedName: step-19 --- @@ -11,7 +11,7 @@ Create a `p` element and use template strings to set its content to the `title` # --hints-- -You should create a `p` element. +Você deve criar um elemento `p`. ```js assert.match(code, /

/) diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec959a76336c8767f5cd4d.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec959a76336c8767f5cd4d.md index 4820d100d4d..f63735d3b3f 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec959a76336c8767f5cd4d.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec959a76336c8767f5cd4d.md @@ -1,6 +1,6 @@ --- id: 64ec959a76336c8767f5cd4d -title: Step 20 +title: 20° passo challengeType: 0 dashedName: step-20 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec96761156a187ed32b274.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec96761156a187ed32b274.md index 4525b0e154c..3f6e968fc2b 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec96761156a187ed32b274.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec96761156a187ed32b274.md @@ -1,6 +1,6 @@ --- id: 64ec96761156a187ed32b274 -title: Step 22 +title: Passo 22 challengeType: 0 dashedName: step-22 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9b10356c2d8aa05d9ce1.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9b10356c2d8aa05d9ce1.md index 0081fa88e1a..dfdd3491e1b 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9b10356c2d8aa05d9ce1.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9b10356c2d8aa05d9ce1.md @@ -1,6 +1,6 @@ --- id: 64ec9b10356c2d8aa05d9ce1 -title: Step 23 +title: Passo 23 challengeType: 0 dashedName: step-23 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9c55fdeef78bacd2fc3b.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9c55fdeef78bacd2fc3b.md index 6ae1e4dff48..6d4ffc125db 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9c55fdeef78bacd2fc3b.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ec9c55fdeef78bacd2fc3b.md @@ -1,6 +1,6 @@ --- id: 64ec9c55fdeef78bacd2fc3b -title: Step 24 +title: Passo 24 challengeType: 0 dashedName: step-24 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fac365aeb8ad70b69b366f.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fac365aeb8ad70b69b366f.md index e12fb12ab81..2239c730c0e 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fac365aeb8ad70b69b366f.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fac365aeb8ad70b69b366f.md @@ -1,6 +1,6 @@ --- id: 64fac365aeb8ad70b69b366f -title: Step 25 +title: Passo 25 challengeType: 0 dashedName: step-25 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fac4d1773e7a719b1254de.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fac4d1773e7a719b1254de.md index 5f281d0de16..b32fecccd61 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fac4d1773e7a719b1254de.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fac4d1773e7a719b1254de.md @@ -1,6 +1,6 @@ --- id: 64fac4d1773e7a719b1254de -title: Step 26 +title: Passo 26 challengeType: 0 dashedName: step-26 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fac6a497811572b338e5e5.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fac6a497811572b338e5e5.md index c1a7b0f8965..33a4cf72b7f 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fac6a497811572b338e5e5.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fac6a497811572b338e5e5.md @@ -1,6 +1,6 @@ --- id: 64fac6a497811572b338e5e5 -title: Step 27 +title: Passo 27 challengeType: 0 dashedName: step-27 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faca774fd9fd74bc084cc9.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faca774fd9fd74bc084cc9.md index 84005e1b01a..198e3cff556 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faca774fd9fd74bc084cc9.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faca774fd9fd74bc084cc9.md @@ -1,6 +1,6 @@ --- id: 64faca774fd9fd74bc084cc9 -title: Step 28 +title: Passo 28 challengeType: 0 dashedName: step-28 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64facf6180824876f70a2e86.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64facf6180824876f70a2e86.md index 07482464ebf..6d05b22d893 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64facf6180824876f70a2e86.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64facf6180824876f70a2e86.md @@ -1,6 +1,6 @@ --- id: 64facf6180824876f70a2e86 -title: Step 29 +title: Passo 29 challengeType: 0 dashedName: step-29 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fad07f43a101779cb8692a.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fad07f43a101779cb8692a.md index 95b71fba69f..9fe9256fcab 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fad07f43a101779cb8692a.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fad07f43a101779cb8692a.md @@ -1,6 +1,6 @@ --- id: 64fad07f43a101779cb8692a -title: Step 30 +title: Passo 30 challengeType: 0 dashedName: step-30 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fad9cd2eeb1e7ca2ca8c8b.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fad9cd2eeb1e7ca2ca8c8b.md index 8192699bb61..160c4854743 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fad9cd2eeb1e7ca2ca8c8b.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fad9cd2eeb1e7ca2ca8c8b.md @@ -1,6 +1,6 @@ --- id: 64fad9cd2eeb1e7ca2ca8c8b -title: Step 31 +title: Passo 31 challengeType: 0 dashedName: step-31 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fadae4f2d51b7d5d8b98d8.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fadae4f2d51b7d5d8b98d8.md index 18b2a462de4..fc7bb24652c 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fadae4f2d51b7d5d8b98d8.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fadae4f2d51b7d5d8b98d8.md @@ -1,6 +1,6 @@ --- id: 64fadae4f2d51b7d5d8b98d8 -title: Step 32 +title: Passo 32 challengeType: 0 dashedName: step-32 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fadff23375f27ff06c6d40.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fadff23375f27ff06c6d40.md index 657bb4aa05b..af273067e14 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fadff23375f27ff06c6d40.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fadff23375f27ff06c6d40.md @@ -1,6 +1,6 @@ --- id: 64fadff23375f27ff06c6d40 -title: Step 33 +title: Passo 33 challengeType: 0 dashedName: step-33 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fae068bcdc9c805bd8399e.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fae068bcdc9c805bd8399e.md index bd759fb7e5f..63ec74f535e 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fae068bcdc9c805bd8399e.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fae068bcdc9c805bd8399e.md @@ -1,6 +1,6 @@ --- id: 64fae068bcdc9c805bd8399e -title: Step 35 +title: Passo 35 challengeType: 0 dashedName: step-35 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faedcd16a1e985c4c2dc94.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faedcd16a1e985c4c2dc94.md index c6fac350818..a9486bda412 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faedcd16a1e985c4c2dc94.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faedcd16a1e985c4c2dc94.md @@ -1,6 +1,6 @@ --- id: 64faedcd16a1e985c4c2dc94 -title: Step 36 +title: Passo 36 challengeType: 0 dashedName: step-36 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faf0418e828c0114a558a7.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faf0418e828c0114a558a7.md index 27631c77f2f..8df9b9d6e7f 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faf0418e828c0114a558a7.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faf0418e828c0114a558a7.md @@ -1,6 +1,6 @@ --- id: 64faf0418e828c0114a558a7 -title: Step 34 +title: Passo 34 challengeType: 0 dashedName: step-34 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faf65b22ad8d07df9be14d.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faf65b22ad8d07df9be14d.md index 9cdbd7860ca..3320e0fab91 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faf65b22ad8d07df9be14d.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faf65b22ad8d07df9be14d.md @@ -1,6 +1,6 @@ --- id: 64faf65b22ad8d07df9be14d -title: Step 37 +title: Passo 37 challengeType: 0 dashedName: step-37 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faf874364ec308f875f636.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faf874364ec308f875f636.md index 0e54adadf06..0047ca054c1 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faf874364ec308f875f636.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64faf874364ec308f875f636.md @@ -1,6 +1,6 @@ --- id: 64faf874364ec308f875f636 -title: Step 38 +title: Passo 38 challengeType: 0 dashedName: step-38 --- @@ -9,7 +9,7 @@ dashedName: step-38 You need to remove the task from the DOM using `remove()` and from the `taskData` array using `splice()`. -`splice()` is an array method that modifies arrays by removing, replacing, or adding elements at a specified index, while also returning the removed elements. It can take up to three parameters: the first one is the mandatory index at which to start, the second is the number of items to remove, and the third is an optional replacement element. Here's an example: +`splice()` is an array method that modifies arrays by removing, replacing, or adding elements at a specified index, while also returning the removed elements. It can take up to three parameters: the first one is the mandatory index at which to start, the second is the number of items to remove, and the third is an optional replacement element. Exemplo: ```js const fruits = ["mango", "date", "cherry", "banana", "apple"]; diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fafac95328110a69bcb75f.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fafac95328110a69bcb75f.md index 3f379d51764..b4870613c9e 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fafac95328110a69bcb75f.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fafac95328110a69bcb75f.md @@ -1,6 +1,6 @@ --- id: 64fafac95328110a69bcb75f -title: Step 39 +title: Passo 39 challengeType: 0 dashedName: step-39 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb0fa0968f2b113b2d90e9.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb0fa0968f2b113b2d90e9.md index bc0e2a84503..db41222ed16 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb0fa0968f2b113b2d90e9.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb0fa0968f2b113b2d90e9.md @@ -1,6 +1,6 @@ --- id: 64fb0fa0968f2b113b2d90e9 -title: Step 40 +title: Passo 40 challengeType: 0 dashedName: step-40 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1061ca838611ed6a7d6b.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1061ca838611ed6a7d6b.md index 14d527ecf40..67979021130 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1061ca838611ed6a7d6b.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1061ca838611ed6a7d6b.md @@ -1,6 +1,6 @@ --- id: 64fb1061ca838611ed6a7d6b -title: Step 41 +title: Passo 41 challengeType: 0 dashedName: step-41 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1321e189a6136d200f77.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1321e189a6136d200f77.md index 73ef19befcc..605813aa6c6 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1321e189a6136d200f77.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1321e189a6136d200f77.md @@ -1,6 +1,6 @@ --- id: 64fb1321e189a6136d200f77 -title: Step 42 +title: Passo 42 challengeType: 0 dashedName: step-42 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1436adef3e145b4c3501.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1436adef3e145b4c3501.md index c6312bf6bd0..0068b51b0de 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1436adef3e145b4c3501.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1436adef3e145b4c3501.md @@ -1,6 +1,6 @@ --- id: 64fb1436adef3e145b4c3501 -title: Step 43 +title: Passo 43 challengeType: 0 dashedName: step-43 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb14d890415c14f93069ce.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb14d890415c14f93069ce.md index 101870d098a..1bdee7b0df4 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb14d890415c14f93069ce.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb14d890415c14f93069ce.md @@ -1,6 +1,6 @@ --- id: 64fb14d890415c14f93069ce -title: Step 44 +title: Passo 44 challengeType: 0 dashedName: step-44 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb154a7c48cd159924bb18.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb154a7c48cd159924bb18.md index 7ad62060776..2956bea7833 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb154a7c48cd159924bb18.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb154a7c48cd159924bb18.md @@ -1,6 +1,6 @@ --- id: 64fb154a7c48cd159924bb18 -title: Step 45 +title: Passo 45 challengeType: 0 dashedName: step-45 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1c4dc0feb219149a7c7d.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1c4dc0feb219149a7c7d.md index 4ec33172878..4e5a2e7a9c6 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1c4dc0feb219149a7c7d.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb1c4dc0feb219149a7c7d.md @@ -1,6 +1,6 @@ --- id: 64fb1c4dc0feb219149a7c7d -title: Step 46 +title: Passo 46 challengeType: 0 dashedName: step-46 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb285637fa1e1c222033e3.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb285637fa1e1c222033e3.md index bb8a87acf60..d4b38e05ab7 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb285637fa1e1c222033e3.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb285637fa1e1c222033e3.md @@ -1,6 +1,6 @@ --- id: 64fb285637fa1e1c222033e3 -title: Step 47 +title: Passo 47 challengeType: 0 dashedName: step-47 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb29348a60361ccd45c1e2.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb29348a60361ccd45c1e2.md index 94fdc40185a..514613ee91c 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb29348a60361ccd45c1e2.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fb29348a60361ccd45c1e2.md @@ -1,6 +1,6 @@ --- id: 64fb29348a60361ccd45c1e2 -title: Step 48 +title: Passo 48 challengeType: 0 dashedName: step-48 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fefebad99209211ec30537.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fefebad99209211ec30537.md index 2ce0b111937..ae82cff430c 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fefebad99209211ec30537.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64fefebad99209211ec30537.md @@ -1,6 +1,6 @@ --- id: 64fefebad99209211ec30537 -title: Step 49 +title: Passo 49 challengeType: 0 dashedName: step-49 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff0313700dad264d19dfe4.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff0313700dad264d19dfe4.md index 1cb0c0c5930..e2a7d4936ef 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff0313700dad264d19dfe4.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff0313700dad264d19dfe4.md @@ -1,6 +1,6 @@ --- id: 64ff0313700dad264d19dfe4 -title: Step 50 +title: Passo 50 challengeType: 0 dashedName: step-50 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff04cc33779427a6412449.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff04cc33779427a6412449.md index 608713897b5..2061ff52d96 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff04cc33779427a6412449.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff04cc33779427a6412449.md @@ -1,6 +1,6 @@ --- id: 64ff04cc33779427a6412449 -title: Step 51 +title: Passo 51 challengeType: 0 dashedName: step-51 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff068e0426eb288874ed79.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff068e0426eb288874ed79.md index 09bad9433fa..19f0eca9cb2 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff068e0426eb288874ed79.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff068e0426eb288874ed79.md @@ -1,6 +1,6 @@ --- id: 64ff068e0426eb288874ed79 -title: Step 52 +title: Passo 52 challengeType: 0 dashedName: step-52 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff23daf176a92de95f24dc.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff23daf176a92de95f24dc.md index 5dc3bd6e1d1..46c629fd6c9 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff23daf176a92de95f24dc.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff23daf176a92de95f24dc.md @@ -1,6 +1,6 @@ --- id: 64ff23daf176a92de95f24dc -title: Step 53 +title: Passo 53 challengeType: 0 dashedName: step-53 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff24b80431f62ec6b93f65.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff24b80431f62ec6b93f65.md index 0d6c42c989e..2f184d49aa4 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff24b80431f62ec6b93f65.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/64ff24b80431f62ec6b93f65.md @@ -1,6 +1,6 @@ --- id: 64ff24b80431f62ec6b93f65 -title: Step 54 +title: Passo 54 challengeType: 0 dashedName: step-54 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65003986d17d1e1865b269c0.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65003986d17d1e1865b269c0.md index cbbcd4df6e1..0c1f28668c8 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65003986d17d1e1865b269c0.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65003986d17d1e1865b269c0.md @@ -1,6 +1,6 @@ --- id: 65003986d17d1e1865b269c0 -title: Step 55 +title: Passo 55 challengeType: 0 dashedName: step-55 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/650046832f92c01a35834bca.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/650046832f92c01a35834bca.md index ec3a700096a..0704ee3a5e7 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/650046832f92c01a35834bca.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/650046832f92c01a35834bca.md @@ -1,6 +1,6 @@ --- id: 650046832f92c01a35834bca -title: Step 56 +title: Passo 56 challengeType: 0 dashedName: step-56 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/650048b0764f9c1b798200e2.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/650048b0764f9c1b798200e2.md index 40cf6384c4e..c6c51b8154b 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/650048b0764f9c1b798200e2.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/650048b0764f9c1b798200e2.md @@ -1,6 +1,6 @@ --- id: 650048b0764f9c1b798200e2 -title: Step 57 +title: Passo 57 challengeType: 0 dashedName: step-57 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md index 08ced41b63f..05e9ddc320d 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65004ba581d03d1d5628b41c.md @@ -1,6 +1,6 @@ --- id: 65004ba581d03d1d5628b41c -title: Step 58 +title: Passo 58 challengeType: 0 dashedName: step-58 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/650300a25b6f72964ab8aca6.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/650300a25b6f72964ab8aca6.md index 6b21e6888ce..7e9fb184013 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/650300a25b6f72964ab8aca6.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/650300a25b6f72964ab8aca6.md @@ -1,6 +1,6 @@ --- id: 650300a25b6f72964ab8aca6 -title: Step 13 +title: Passo 13 challengeType: 0 dashedName: step-13 --- diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65099dbd8f137d58e5c0ff16.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65099dbd8f137d58e5c0ff16.md index 0c9fbc152b7..ca25713c78a 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65099dbd8f137d58e5c0ff16.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/learn-localstorage-by-building-a-todo-app/65099dbd8f137d58e5c0ff16.md @@ -1,6 +1,6 @@ --- id: 65099dbd8f137d58e5c0ff16 -title: Step 21 +title: Passo 21 challengeType: 0 dashedName: step-21 --- diff --git a/curriculum/challenges/swahili/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md b/curriculum/challenges/swahili/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md index a0294cd43ce..78669d6ed7e 100644 --- a/curriculum/challenges/swahili/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md +++ b/curriculum/challenges/swahili/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md @@ -12,7 +12,7 @@ Usernames are used everywhere on the internet. They are what give users a unique You need to check all the usernames in a database. Here are some simple rules that users have to follow when creating their username. -1) Usernames can only use alpha-numeric characters. +1) Usernames can only use alphanumeric characters. 2) The only numbers in the username have to be at the end. There can be zero or more of them at the end. Username cannot start with the number. diff --git a/curriculum/challenges/swahili/10-coding-interview-prep/rosetta-code/entropy.md b/curriculum/challenges/swahili/10-coding-interview-prep/rosetta-code/entropy.md index fa596bd4891..8a4de7902bd 100644 --- a/curriculum/challenges/swahili/10-coding-interview-prep/rosetta-code/entropy.md +++ b/curriculum/challenges/swahili/10-coding-interview-prep/rosetta-code/entropy.md @@ -10,7 +10,7 @@ dashedName: entropy Calculate the Shannon entropy H of a given input string. -Given the discreet random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: +Given the discrete random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: $H_2(X) = -\\sum\_{i=1}^n \\frac{count_i}{N} \\log_2 \\left(\\frac{count_i}{N}\\right)$ diff --git a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md index eb0a7b59168..ebd1fdebae2 100644 --- a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md +++ b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md @@ -9,10 +9,10 @@ dashedName: step-21 Lengo sasa ni kufanya `div` isichukue upana mzima wa ukurasa. Sifa ya CSS `width` inafaa kwa hili. -You can use the `id` selector to target a specific `div` element. An id selector is defined by a name with a hash symbol directly in front of it, like this: +You can use the `id` selector to target a specific element with an `id` attribute. An `id` selector is defined by placing the hash symbol `#` directly in front of the element's `id` value. For example, if an element has the `id` of `cat` then you would target that element like this: -```css -#example-id { +```css +#cat { width: 250px; } ``` diff --git a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md index 606b9bccab8..ee381112e79 100644 --- a/curriculum/challenges/swahili/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md +++ b/curriculum/challenges/swahili/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md @@ -9,7 +9,7 @@ dashedName: step-73 Kwa kuzingatia vitu vya menyu na bei, kuna pengo kubwa kati ya kila mstari. -Lenga vipengele vyote vya `p` vilivyowekwa katika vipengee vilivyo na `class` inayoitwa `item` na uweke ukingo wake wa juu na chini kuwa `5px`. +Use the existing selector that targets all the `p` elements nested in elements with the class named `item` and set their top and bottom margin to be `5px`. # --hints-- @@ -158,6 +158,7 @@ h1, h2 { .item p { display: inline-block; + } .flavor, .dessert { diff --git a/curriculum/challenges/swahili/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md b/curriculum/challenges/swahili/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md index 7874cbab3fc..27cb226d3da 100644 --- a/curriculum/challenges/swahili/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md +++ b/curriculum/challenges/swahili/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md @@ -8,11 +8,11 @@ dashedName: problem-91-right-triangles-with-integer-coordinates # --description-- -The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer co-ordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. +The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer coordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. a graph plotting points P (x_1, y_1) and Q(x_2, y_2) at integer coordinates that are joined to the origin O (0, 0) -There are exactly fourteen triangles containing a right angle that can be formed when each co-ordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. +There are exactly fourteen triangles containing a right angle that can be formed when each coordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. a diagram showing the 14 triangles containing a right angle that can be formed when each coordinate is between 0 and 2 diff --git a/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-nested-objects.md b/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-nested-objects.md index c007c1dbacb..80a442e1f14 100644 --- a/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-nested-objects.md +++ b/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-nested-objects.md @@ -57,7 +57,7 @@ assert.match(code, /myStorage\.car\.inside/); assert.match(code, /const\s+gloveBoxContents\s*=/); ``` -You should not change the `myStorage` object. +Не змінюйте об’єкт `myStorage`. ```js const expectedMyStorage = { diff --git a/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md b/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md index 36fe7d6b5ff..d3b7f8bb8ae 100644 --- a/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md +++ b/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames.md @@ -12,7 +12,7 @@ dashedName: restrict-possible-usernames Вам потрібно перевірити всі імена користувачів у базі даних. Ось кілька простих правил, яких користувачі повинні дотримуватись при створенні імені користувача. -1) Користувачі можуть використовувати лише алфавітно-цифрові символи. +1) Usernames can only use alphanumeric characters. 2) Числа повинні бути лише в кінці імені користувача. У кінці їх може бути нуль або більше. Ім’я користувача не може починатися з числа. diff --git a/curriculum/challenges/ukrainian/10-coding-interview-prep/rosetta-code/entropy.md b/curriculum/challenges/ukrainian/10-coding-interview-prep/rosetta-code/entropy.md index 08bd677b5b1..50e15e46c30 100644 --- a/curriculum/challenges/ukrainian/10-coding-interview-prep/rosetta-code/entropy.md +++ b/curriculum/challenges/ukrainian/10-coding-interview-prep/rosetta-code/entropy.md @@ -10,7 +10,7 @@ dashedName: entropy Обчислити інформаційну ентропію заданого вхідного рядка. -Зважаючи на дискретну випадкову змінну $X$, яка є рядком для $N$ "символів" (всіх символів), що складається з $n$ різних символів (n=2 для бінарних), інформаційна ентропія для X в бітах/символах є: +Given the discrete random variable $X$ that is a string of $N$ "symbols" (total characters) consisting of $n$ different characters (n=2 for binary), the Shannon entropy of X in bits/symbol is: $H_2(X) = -\\sum\_{i=1}^n \\frac{count_i}{N} \\log_2 \\left(\\frac{count_i}{N}\\right)$ diff --git a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md index d08551462e1..f4a1922a700 100644 --- a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md +++ b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f356ed63c7807a4f1e6d054.md @@ -9,10 +9,10 @@ dashedName: step-21 Тепер метою є зробити так, щоб `div` не займав всю ширину сторінки. CSS властивість `width` чудово підходить для цього. -You can use the `id` selector to target a specific `div` element. An id selector is defined by a name with a hash symbol directly in front of it, like this: +You can use the `id` selector to target a specific element with an `id` attribute. An `id` selector is defined by placing the hash symbol `#` directly in front of the element's `id` value. For example, if an element has the `id` of `cat` then you would target that element like this: -```css -#example-id { +```css +#cat { width: 250px; } ``` diff --git a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md index 3840716f4c6..f10cf8b625c 100644 --- a/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md +++ b/curriculum/challenges/ukrainian/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f45a276c093334f0f6e9df4.md @@ -9,7 +9,7 @@ dashedName: step-73 Якщо подивитись на елементи меню та ціни, можна помітити величезний проміжок між лініями. -Націльте всі елементи `p`, вкладені в елементах з `class` зі значенням `item`, та встановіть їхні верхнє та нижнє поля на `5px`. +Use the existing selector that targets all the `p` elements nested in elements with the class named `item` and set their top and bottom margin to be `5px`. # --hints-- @@ -158,6 +158,7 @@ h1, h2 { .item p { display: inline-block; + } .flavor, .dessert { diff --git a/curriculum/challenges/ukrainian/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md b/curriculum/challenges/ukrainian/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md index 2fb133234f4..f5b7ba7936b 100644 --- a/curriculum/challenges/ukrainian/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md +++ b/curriculum/challenges/ukrainian/18-project-euler/project-euler-problems-1-to-100/problem-91-right-triangles-with-integer-coordinates.md @@ -8,11 +8,11 @@ dashedName: problem-91-right-triangles-with-integer-coordinates # --description-- -Точки ${P}(x_1, y_1)$ і ${Q}(x_2, y_2)$ нанесені на координатах та з’єднані з координатами ${O}(0, 0)$, утворюючи ${\Delta}OPQ$. +The points ${P}(x_1, y_1)$ and ${Q}(x_2, y_2)$ are plotted at integer coordinates and are joined to the origin, ${O}(0, 0)$, to form ${\Delta}OPQ$. графік, що зображує точки P (x_1, y_1) і Q(x_2, y_2) у цілочисельних координатах, які приєднуються до координат O (0, 0) -Існує чотирнадцять трикутників з прямим кутом, який можна утворити, коли кожна координата знаходиться між 0 та 2 включно; тобто, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. +There are exactly fourteen triangles containing a right angle that can be formed when each coordinate lies between 0 and 2 inclusive; that is, $0 ≤ x_1, y_1, x_2, y_2 ≤ 2$. діаграма, що показує 14 трикутників, які містять прямий кут, що може бути утворений, якщо кожна координата знаходиться між 0 та 2