diff --git a/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/basic-javascript/explore-differences-between-the-var-and-let-keywords.md b/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/basic-javascript/explore-differences-between-the-var-and-let-keywords.md index e45b50e28cc..7bf4dfaf770 100644 --- a/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/basic-javascript/explore-differences-between-the-var-and-let-keywords.md +++ b/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/basic-javascript/explore-differences-between-the-var-and-let-keywords.md @@ -8,7 +8,7 @@ dashedName: explore-differences-between-the-var-and-let-keywords # --description-- -واحدة من أكبر مشكلات مع إعلان المتغيرات باستخدام كلمة `var` هي أنه يمكنك بسهولة تغيير الإعلانات للمتغيرات السابقة: +واحدة من أكبر المشكلات في إعلان المتغيرات بكلمة `var` هي أنه يمكنك بسهولة تغيير الإعلانات السابقة للمتغيرات: ```js var camper = "James"; @@ -16,11 +16,11 @@ var camper = "David"; console.log(camper); ``` -في الكود أعلاه، أعلن متغير `camper` بقيمة `James` في الأصل، وغير بعد ذلك ليصبح `David`. ثم يعرض وحدة التحكم المقطع (string) الآتي `David`. +في الكود أعلاه، أعطي متغير `camper` قيمة `James` في الإعلان الأصلي، ثم ألغيَ عند إعادة إعلانه ليصبح `David`. ثم يعرض الكونسول (console) المقطع النصي (string) الآتي `David`. -في تطبيق صغير، قد لا تواجه هذا النوع من المشاكل. لكن كلما أصبح الكود الخاص بك أكبر، قد تغير المتغير عن طريق الخطأ الذي لم تكن تنوي تغييره. ولأذن هذا السلوك لا يوقع خطأ، يصبح البحث عن الأخطاء وإصلاحها أكثر صعوبة. +في تطبيق صغير، قد لا تواجه هذا النوع من المشاكل. لكن إذا أصبح الكود الخاص بك أكبر، قد تلغي متغير دون وعي. ولأن هذا السلوك لا يوقع خطأ، يصبح البحث عن الأخطاء وإصلاحها أكثر صعوبة. -تم تقديم كلمة `let` في ES6، وهو تحديث رئيس JavaScript، لحل هذه المشكلة المحتملة باستخدام `var`. ستتعرف إلى ميزات ES6 الأخرى في التحديات اللاحقة. +تم تقديم كلمة `let` في ES6، وهو تحديث رئيسي في الجافاسكريبت (JavaScript)، لحل هذه المشكلة المحتملة باستخدام `var`. ستتعرف على ميزات ES6 الأخرى في التحديات اللاحقة. إذا استبدلت `var` إلى `let` في الكود أعلاه، فإنه يؤدي إلى خطأ: @@ -29,13 +29,13 @@ let camper = "James"; let camper = "David"; ``` -يمكن رؤية الخطأ في وحدة تحكم المتصفح الخاص بك. +يمكن رؤية الخطأ في وحدة تحكم (console) المتصفح الخاص بك. لذلك على خلاف `var`، عندما تستعمل `let`، يمكن إعلان متغير بنفس الاسم مرة واحدة فقط. # --instructions-- -حديث الكود بحيث يستخدم فقط كلمة `let`. +حدِّث الكود بحيث يستخدم فقط كلمة `let`. # --hints-- @@ -45,13 +45,13 @@ let camper = "David"; assert.notMatch(code, /var/g); ``` -يجب أن تساوي `catName` المقطع (string) الآتي `Oliver`. +يجب أن تساوي `catName` المقطع النصي (string) الآتي `Oliver`. ```js assert.equal(catName, 'Oliver'); ``` -يجب أن تساوي `catSound` المقطع (string) الآتي `Meow!` +يجب أن تساوي `catSound` المقطع النصي (string) الآتي `Meow!` ```js assert.equal(catSound, 'Meow!'); diff --git a/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/basic-javascript/find-the-length-of-a-string.md b/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/basic-javascript/find-the-length-of-a-string.md index 3228396f717..3343589652f 100644 --- a/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/basic-javascript/find-the-length-of-a-string.md +++ b/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/basic-javascript/find-the-length-of-a-string.md @@ -1,6 +1,6 @@ --- id: bd7123c9c448eddfaeb5bdef -title: العثور على طول مقطع نصي (Find the Length of a String) +title: العثور عن عدد الرموز في مقطع نصي challengeType: 1 videoUrl: 'https://scrimba.com/c/cvmqEAd' forumTopicId: 18182 @@ -9,7 +9,7 @@ dashedName: find-the-length-of-a-string # --description-- -يمكنك العثور على قيمة طول `String` بكتابة `.length` بعد متغير المقطع النصي أو بعد مقطع حرفي (string literal). +يمكنك العثور على قيمة عدد الرموز في `String` بكتابة `.length` بعد متغير المقطع النصي أو بعد مقطع حرفي (string literal). ```js console.log("Alan Peter".length); @@ -17,11 +17,11 @@ console.log("Alan Peter".length); سوف يتم عرض القيمة `10` في وحدة التحكم. لاحظ أن رمز المسافة بين "Alan" و "Peter" يتم حسابه أيضا. -على سبيل المثال، إذا أنشئت متغير `const firstName = "Ada"`، يمكننا معرفة طول المقطع (string) الآتي `Ada` باستخدام `firstName.length`. +على سبيل المثال، إذا أنشئت متغير `const firstName = "Ada"`، يمكننا معرفة طول المقطع النصي (string) الآتي `Ada` باستخدام `firstName.length`. # --instructions-- -استخدم خاصية `.length` لتعيين `lastNameLength` إلى عدد الأحرف في `lastName`. +استخدم خاصية `.length` لتعيين `lastNameLength` إلى عدد الرموز في `lastName`. # --hints-- diff --git a/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/basic-javascript/understanding-case-sensitivity-in-variables.md b/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/basic-javascript/understanding-case-sensitivity-in-variables.md index b739845c2eb..29ec1dd4870 100644 --- a/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/basic-javascript/understanding-case-sensitivity-in-variables.md +++ b/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/basic-javascript/understanding-case-sensitivity-in-variables.md @@ -39,7 +39,7 @@ var thisVariableNameIsSoLong; assert(typeof studlyCapVar !== 'undefined' && studlyCapVar === 10); ``` -يجب أن يتم تعريف`properCamelCase` وأن تكون له قيمة `A String` بنوع مقطع. +يجب أن يتم تعريف`properCamelCase` وأن تكون له قيمة المقطع النصي `A String`. ```js assert( diff --git a/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/object-oriented-programming/reset-an-inherited-constructor-property.md b/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/object-oriented-programming/reset-an-inherited-constructor-property.md index 4cc528aec6d..d74a6e690eb 100644 --- a/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/object-oriented-programming/reset-an-inherited-constructor-property.md +++ b/curriculum/challenges/arabic/02-javascript-algorithms-and-data-structures/object-oriented-programming/reset-an-inherited-constructor-property.md @@ -1,6 +1,6 @@ --- id: 587d7db1367417b2b2512b86 -title: إعادة تعيين خاصية موروثة (Reset an Inherited Constructor Property) +title: إعادة تعيين خاصية موروثة challengeType: 1 forumTopicId: 301324 dashedName: reset-an-inherited-constructor-property diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f5486b8fd4b71633f69b0.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f5486b8fd4b71633f69b0.md index 8691fe0ed7c..1b7b81f96be 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f5486b8fd4b71633f69b0.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f5486b8fd4b71633f69b0.md @@ -1,6 +1,6 @@ --- id: 615f5486b8fd4b71633f69b0 -title: Step 33 +title: الخطوة 33 challengeType: 0 dashedName: step-33 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f575b50b91e72af079480.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f575b50b91e72af079480.md index 14f20ffb784..04e6d72b795 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f575b50b91e72af079480.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f575b50b91e72af079480.md @@ -7,17 +7,17 @@ dashedName: step-35 # --description-- -Create a new `.left-container p` selector setting the top and bottom margin to `-5px`, and the left and right margin to `-2px`. Also set the `font-size` to `2em` and `font-weight` to `700`. +أنشئ منتقي `.left-container p` يعين هامش (margin) من أعلى وأسفل بمقدار `-5px`، و هامش من اليسار واليمين بمقدار `-2px`. أيضا عيّن خاصية `font-size` بمقدار `2em` وخاصية `font-weight` بمقدار `700`. # --hints-- -You should have a new `.left-container p` selector. +يجب أن يكون لديك منتقي `.left-container p` جديد. ```js assert(new __helpers.CSSHelp(document).getStyle('.left-container p')); ``` -Your new `.left-container p` selector should have a `margin` property set to `-5px -2px`. +ايجب أن يحتوي المنتقي الجديد `.left-container p` على خاصية `margin` بقيمة `-5px -2px`. ```js assert.equal(new __helpers.CSSHelp(document).getStyle('.left-container p')?.marginTop, '-5px'); @@ -26,13 +26,13 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('.left-container p')?.marg assert.equal(new __helpers.CSSHelp(document).getStyle('.left-container p')?.marginRight, '-2px'); ``` -Your new `.left-container p` selector should have a `font-size` property set to `2em`. +يجب أن يحتوي المنتقي الجديد `.left-container p` على خاصية `font-size` بقيمة `2em`. ```js assert(new __helpers.CSSHelp(document).getStyle('.left-container p')?.fontSize === '2em'); ``` -Your new `.left-container p` selector should have a `font-weight` property set to `700`. +يجب أن يحتوي المنتقي الجديد `.left-container p` على خاصية `font-weight` بقيمة `700`. ```js assert(new __helpers.CSSHelp(document).getStyle('.left-container p')?.fontWeight === '700'); diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f5af373a68e744a3c5a76.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f5af373a68e744a3c5a76.md index e475239568f..4d0d945df62 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f5af373a68e744a3c5a76.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f5af373a68e744a3c5a76.md @@ -1,6 +1,6 @@ --- id: 615f5af373a68e744a3c5a76 -title: Step 36 +title: الخطوة 36 challengeType: 0 dashedName: step-36 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f5fd85d0062761f288364.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f5fd85d0062761f288364.md index 6527ded3c92..b37ff03e525 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f5fd85d0062761f288364.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f5fd85d0062761f288364.md @@ -1,6 +1,6 @@ --- id: 615f5fd85d0062761f288364 -title: Step 37 +title: الخطوة 37 challengeType: 0 dashedName: step-37 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f61338c8ca176d6445574.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f61338c8ca176d6445574.md index 1409bc37178..74b97b28254 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f61338c8ca176d6445574.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f61338c8ca176d6445574.md @@ -1,6 +1,6 @@ --- id: 615f61338c8ca176d6445574 -title: Step 38 +title: الخطوة 38 challengeType: 0 dashedName: step-38 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f666ac5edea782feb7e75.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f666ac5edea782feb7e75.md index fcb5fe060eb..1bd0c2eaee3 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f666ac5edea782feb7e75.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f666ac5edea782feb7e75.md @@ -1,17 +1,17 @@ --- id: 615f666ac5edea782feb7e75 -title: Step 39 +title: الخطوة 39 challengeType: 0 dashedName: step-39 --- # --description-- -Create an `.medium` selector and give it a `height` property of `5px`. +أنشئ منتقي `.medium` واعطه خاصية `height` بقيمة `5px`. # --hints-- -You should create an `.medium` selector. +يجب عليك إنشاء منتقي `.medium`. ```js assert(new __helpers.CSSHelp(document).getStyle('.medium')); diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f671b6d1919792745aa5d.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f671b6d1919792745aa5d.md index 0391349f17a..ff06aea7d14 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f671b6d1919792745aa5d.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f671b6d1919792745aa5d.md @@ -1,6 +1,6 @@ --- id: 615f671b6d1919792745aa5d -title: Step 40 +title: الخطوة 40 challengeType: 0 dashedName: step-40 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6823d0815b7a991f2a75.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6823d0815b7a991f2a75.md index 6f4718e9f24..9301f275c6b 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6823d0815b7a991f2a75.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6823d0815b7a991f2a75.md @@ -1,6 +1,6 @@ --- id: 615f6823d0815b7a991f2a75 -title: Step 42 +title: الخطوة 42 challengeType: 0 dashedName: step-42 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6b2d164f81809efd9bdc.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6b2d164f81809efd9bdc.md index 980c9d6ceb4..8552d8f8cdc 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6b2d164f81809efd9bdc.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6b2d164f81809efd9bdc.md @@ -1,6 +1,6 @@ --- id: 615f6b2d164f81809efd9bdc -title: Step 43 +title: الخطوة 43 challengeType: 0 dashedName: step-43 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6cc778f7698258467596.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6cc778f7698258467596.md index 9b5d8a4beaf..b4058b35cd3 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6cc778f7698258467596.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6cc778f7698258467596.md @@ -1,6 +1,6 @@ --- id: 615f6cc778f7698258467596 -title: Step 44 +title: الخطوة 44 challengeType: 0 dashedName: step-44 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6fddaac1e083502d3e6a.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6fddaac1e083502d3e6a.md index 70cc5100897..8908448e4ca 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6fddaac1e083502d3e6a.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f6fddaac1e083502d3e6a.md @@ -1,6 +1,6 @@ --- id: 615f6fddaac1e083502d3e6a -title: Step 45 +title: الخطوة 45 challengeType: 0 dashedName: step-45 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f70077a4ff98424236c1e.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f70077a4ff98424236c1e.md index b7e97ea33ea..ffa61e1d674 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f70077a4ff98424236c1e.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f70077a4ff98424236c1e.md @@ -1,6 +1,6 @@ --- id: 615f70077a4ff98424236c1e -title: Step 46 +title: الخطوة 46 challengeType: 0 dashedName: step-46 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f72a872354a850d4f533e.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f72a872354a850d4f533e.md index 2ab580feb3e..2d2b4f7286f 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f72a872354a850d4f533e.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f72a872354a850d4f533e.md @@ -1,6 +1,6 @@ --- id: 615f72a872354a850d4f533e -title: Step 47 +title: الخطوة 47 challengeType: 0 dashedName: step-47 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f74a71f1e498619e38ee8.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f74a71f1e498619e38ee8.md index dbf8b65d570..1c8a5d7bca0 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f74a71f1e498619e38ee8.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f74a71f1e498619e38ee8.md @@ -1,6 +1,6 @@ --- id: 615f74a71f1e498619e38ee8 -title: Step 48 +title: الخطوة 48 challengeType: 0 dashedName: step-48 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7ad94380408d971d14f6.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7ad94380408d971d14f6.md index 153a23d6fe9..e7933a731e7 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7ad94380408d971d14f6.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7ad94380408d971d14f6.md @@ -1,6 +1,6 @@ --- id: 615f7ad94380408d971d14f6 -title: Step 49 +title: الخطوة 49 challengeType: 0 dashedName: step-49 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7bc680f7168ea01ebf99.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7bc680f7168ea01ebf99.md index 9b4cd1ed189..50ca077bfad 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7bc680f7168ea01ebf99.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7bc680f7168ea01ebf99.md @@ -1,6 +1,6 @@ --- id: 615f7bc680f7168ea01ebf99 -title: Step 50 +title: الخطوة 50 challengeType: 0 dashedName: step-50 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7c71eab8218f846e4503.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7c71eab8218f846e4503.md index e4f6b6f71be..b8f7a0f4985 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7c71eab8218f846e4503.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7c71eab8218f846e4503.md @@ -1,6 +1,6 @@ --- id: 615f7c71eab8218f846e4503 -title: Step 51 +title: الخطوة 51 challengeType: 0 dashedName: step-51 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7d489a581590d1350288.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7d489a581590d1350288.md index 474f0d2f4ef..dd7b5b778ea 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7d489a581590d1350288.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7d489a581590d1350288.md @@ -1,6 +1,6 @@ --- id: 615f7d489a581590d1350288 -title: Step 52 +title: الخطوة 52 challengeType: 0 dashedName: step-52 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7de4487b64919bb4aa5e.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7de4487b64919bb4aa5e.md index 95c25da1430..d4650b1f3b0 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7de4487b64919bb4aa5e.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7de4487b64919bb4aa5e.md @@ -1,6 +1,6 @@ --- id: 615f7de4487b64919bb4aa5e -title: Step 53 +title: الخطوة 53 challengeType: 0 dashedName: step-53 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7e7281626a92bbd62da8.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7e7281626a92bbd62da8.md index 5937c232085..b1b038f31fc 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7e7281626a92bbd62da8.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7e7281626a92bbd62da8.md @@ -1,6 +1,6 @@ --- id: 615f7e7281626a92bbd62da8 -title: Step 54 +title: الخطوة 54 challengeType: 0 dashedName: step-54 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7ecb09de9a938ef94756.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7ecb09de9a938ef94756.md index 57e4f3c549b..63f1bfa8c5e 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7ecb09de9a938ef94756.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7ecb09de9a938ef94756.md @@ -1,6 +1,6 @@ --- id: 615f7ecb09de9a938ef94756 -title: Step 55 +title: الخطوة 55 challengeType: 0 dashedName: step-55 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7fa959ab75948f96a0d6.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7fa959ab75948f96a0d6.md index 52cdee9065b..a83efa17c03 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7fa959ab75948f96a0d6.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f7fa959ab75948f96a0d6.md @@ -1,6 +1,6 @@ --- id: 615f7fa959ab75948f96a0d6 -title: Step 56 +title: الخطوة 56 challengeType: 0 dashedName: step-56 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f808d85793195b0f53be9.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f808d85793195b0f53be9.md index 2f1ee87a1a8..a8a07b0e14d 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f808d85793195b0f53be9.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f808d85793195b0f53be9.md @@ -1,6 +1,6 @@ --- id: 615f808d85793195b0f53be9 -title: Step 57 +title: الخطوة 57 challengeType: 0 dashedName: step-57 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f829d07b18f96f6f6684b.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f829d07b18f96f6f6684b.md index d9e5f1fac7a..a036ef9e242 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f829d07b18f96f6f6684b.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f829d07b18f96f6f6684b.md @@ -1,6 +1,6 @@ --- id: 615f829d07b18f96f6f6684b -title: Step 58 +title: الخطوة 58 challengeType: 0 dashedName: step-58 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f83ef928ec9982b785b6a.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f83ef928ec9982b785b6a.md index a555ad88228..b7843fa97a2 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f83ef928ec9982b785b6a.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f83ef928ec9982b785b6a.md @@ -1,6 +1,6 @@ --- id: 615f83ef928ec9982b785b6a -title: Step 59 +title: الخطوة 59 challengeType: 0 dashedName: step-59 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f84f246e8ba98e3cd97be.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f84f246e8ba98e3cd97be.md index 2dc23b0aa5f..38232a5d542 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f84f246e8ba98e3cd97be.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f84f246e8ba98e3cd97be.md @@ -1,6 +1,6 @@ --- id: 615f84f246e8ba98e3cd97be -title: Step 60 +title: الخطوة 60 challengeType: 0 dashedName: step-60 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md index 3fd3dce35ee..c5351c48726 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f887466db4ba14b5342cc.md @@ -1,6 +1,6 @@ --- id: 615f887466db4ba14b5342cc -title: Step 61 +title: الخطوة 61 challengeType: 0 dashedName: step-61 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md index 094ea78985c..d5ffbfa6d21 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f89e055040ba294719d2f.md @@ -1,6 +1,6 @@ --- id: 615f89e055040ba294719d2f -title: Step 62 +title: الخطوة 62 challengeType: 0 dashedName: step-62 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md index a5eb11fd524..d824454e7eb 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8bfe0f30a1a3c340356b.md @@ -1,6 +1,6 @@ --- id: 615f8bfe0f30a1a3c340356b -title: Step 63 +title: الخطوة 63 challengeType: 0 dashedName: step-63 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md index c2d96405e88..0648add1d8f 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f8f1223601fa546e93f31.md @@ -1,6 +1,6 @@ --- id: 615f8f1223601fa546e93f31 -title: Step 64 +title: الخطوة 64 challengeType: 0 dashedName: step-64 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md index 6b8cd67e1f6..674a88c0a65 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f905fbd1017a65ca224eb.md @@ -1,6 +1,6 @@ --- id: 615f905fbd1017a65ca224eb -title: Step 65 +title: الخطوة 65 challengeType: 0 dashedName: step-65 --- @@ -23,7 +23,7 @@ dashedName: step-65 assert(document.querySelector('.daily-value').nextElementSibling?.localName === 'div'); ``` -Your new `div` should have the `class` set to `divider medium`. +يجب أن يحتوي عنصر `div` الجديد على سمة `class` بقيمة `divider medium`. ```js assert(document.querySelector('.daily-value')?.nextElementSibling?.classList?.contains('divider')); diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md index 0e36b461465..7eda864babc 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f94786869e1a7fec54375.md @@ -1,6 +1,6 @@ --- id: 615f94786869e1a7fec54375 -title: Step 66 +title: الخطوة 66 challengeType: 0 dashedName: step-66 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md index dadce013e49..d9376f96e75 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f951dff9317a900ef683f.md @@ -1,6 +1,6 @@ --- id: 615f951dff9317a900ef683f -title: Step 67 +title: الخطوة 67 challengeType: 0 dashedName: step-67 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/635bde33c91c80540eae239b.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/635bde33c91c80540eae239b.md index d9073bf18ba..f46fad9a73b 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/635bde33c91c80540eae239b.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/635bde33c91c80540eae239b.md @@ -1,17 +1,17 @@ --- id: 635bde33c91c80540eae239b -title: Step 41 +title: الخطوة 41 challengeType: 0 dashedName: step-41 --- # --description-- -The text `* Daily Value %` should be aligned to the right. Create a `.right` selector and use the `justify-content` property to do it. +يجب أن ينحاز النص `* Daily Value %` إلى اليمين. أنشئ منتقي `.right` وأضف خاصية `justify-content`. # --hints-- -You should have a `.right` selector. +يجب أن يكون لديك منتقي `.right` جديد. ```js const hasRight = new __helpers.CSSHelp(document).getStyle('.right'); @@ -19,7 +19,7 @@ assert(hasRight); ``` -The `.right` selector should have the `justify-content` property set to `flex-end`. +يجب أن يحتوي منتقيك `.right` على `justify-content` بقيمة `flex-end`. ```js const rightJustifyContent = new __helpers.CSSHelp(document).getStyle('.right')?.getPropertyValue('justify-content'); diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/6395d33ab5d91bf317107c48.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/6395d33ab5d91bf317107c48.md index 057b5fd1899..f6b7b6335b9 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/6395d33ab5d91bf317107c48.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/6395d33ab5d91bf317107c48.md @@ -1,6 +1,6 @@ --- id: 6395d33ab5d91bf317107c48 -title: Step 32 +title: الخطوة 32 challengeType: 0 dashedName: step-32 --- diff --git a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/6396e33fe478dd264ebbf278.md b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/6396e33fe478dd264ebbf278.md index 6a2dbb37aa9..559fc034579 100644 --- a/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/6396e33fe478dd264ebbf278.md +++ b/curriculum/challenges/arabic/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/6396e33fe478dd264ebbf278.md @@ -1,35 +1,35 @@ --- id: 6396e33fe478dd264ebbf278 -title: Step 34 +title: الخطوة 34 challengeType: 0 dashedName: step-34 --- # --description-- -Create a new `.calories-info` selector and give it a `display` property set to `flex`. Also give it a `justify-content` property set to `space-between` and `align-items` property set to `flex-end`. +أنشئ منتقي `.calories-info` جديد وإعطائه خاصية `display` بقيمة `flex`. أعطيه خاصية `justify-content` بقيمة `space-between` و`align-items` بقيمة `flex-end` أيضًا. # --hints-- -You should create a `.calories-info` selector. +يجب عليك إنشاء منتقي `.calories-info`. ```js assert(new __helpers.CSSHelp(document).getStyle('.calories-info')); ``` -Your `.calories-info` selector should have a `display` property set to `flex`. +يجب أن يحتوي منتقي `.calories-info` على خاصية `display` بقيمة `flex`. ```js assert(new __helpers.CSSHelp(document).getStyle('.calories-info')?.display === 'flex'); ``` -Your `.calories-info` selector should have a `justify-content` property set to `space-between`. +يجب أن يحتوي منتقيك `.calories-info` على `justify-content` بقيمة `space-between`. ```js assert(new __helpers.CSSHelp(document).getStyle('.calories-info')?.justifyContent === 'space-between'); ``` -Your `.calories-info` selector should have a `align-items` property set to `flex-end`. +يجب أن يحتوي منتقي `.calories-info` على خاصية `align-items` بقيمة `flex-end`. ```js assert(new __helpers.CSSHelp(document).getStyle('.calories-info')?.alignItems === 'flex-end'); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-1-multiples-of-3-and-5.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-1-multiples-of-3-and-5.md index 79ffc31e0c1..4ef4841de24 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-1-multiples-of-3-and-5.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-1-multiples-of-3-and-5.md @@ -1,6 +1,6 @@ --- id: 5900f36e1000cf542c50fe80 -title: 'Aufgabe 1: Vielfaches von 3 und 5' +title: 'Problem 1: Vielfaches von 3 und 5' challengeType: 1 forumTopicId: 301722 dashedName: problem-1-multiples-of-3-and-5 diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-103-special-subset-sums-optimum.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-103-special-subset-sums-optimum.md index bf85eef1f76..c22d35ca01e 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-103-special-subset-sums-optimum.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-103-special-subset-sums-optimum.md @@ -26,7 +26,7 @@ By applying this "rule" we would expect the optimum set for $n = 6$ to be $A = \ Given that A is an optimum special sum set for $n = 7$, find its set string. -**Note:** This problem is related to Problem 105 and Problem 106. +**Hinweis:** Dieses Problem steht im Zusammenhang mit Problem 105 und 106. # --hints-- diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-113-non-bouncy-numbers.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-113-non-bouncy-numbers.md index 472c5b9a78f..e05e272a51e 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-113-non-bouncy-numbers.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-113-non-bouncy-numbers.md @@ -1,6 +1,6 @@ --- id: 5900f3dd1000cf542c50fef0 -title: 'Problem 113: Non-bouncy numbers' +title: 'Problem 113: Nicht sprunghafte Zahlen' challengeType: 1 forumTopicId: 301739 dashedName: problem-113-non-bouncy-numbers diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-157-solving-the-diophantine-equation.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-157-solving-the-diophantine-equation.md index aa5e8185547..9d69671128c 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-157-solving-the-diophantine-equation.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-157-solving-the-diophantine-equation.md @@ -1,6 +1,6 @@ --- id: 5900f4091000cf542c50ff1c -title: 'Problem 157: Solving the diophantine equation' +title: 'Problem 157: Lösen der Diophantischen Gleichung' challengeType: 1 forumTopicId: 301788 dashedName: problem-157-solving-the-diophantine-equation diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-180-rational-zeros-of-a-function-of-three-variables.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-180-rational-zeros-of-a-function-of-three-variables.md index 7a9fc7d7c66..b83f73da691 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-180-rational-zeros-of-a-function-of-three-variables.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-180-rational-zeros-of-a-function-of-three-variables.md @@ -1,6 +1,6 @@ --- id: 5900f4201000cf542c50ff33 -title: 'Aufgabe 180: Rationale Nullstellen einer Funktion von drei Variablen' +title: 'Problem 180: Rationale Nullstellen einer Funktion von drei Variablen' challengeType: 1 forumTopicId: 301816 dashedName: problem-180-rational-zeros-of-a-function-of-three-variables diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-2-even-fibonacci-numbers.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-2-even-fibonacci-numbers.md index 633abb997fc..87dac06f5bb 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-2-even-fibonacci-numbers.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-2-even-fibonacci-numbers.md @@ -1,6 +1,6 @@ --- id: 5900f36e1000cf542c50fe81 -title: 'Aufgabe 2: Gerade Fibonacci-Zahlen' +title: 'Problem 2: Gerade Fibonacci-Zahlen' challengeType: 1 forumTopicId: 301838 dashedName: problem-2-even-fibonacci-numbers diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-21-amicable-numbers.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-21-amicable-numbers.md index df19c7d7c20..e2f2f93440a 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-21-amicable-numbers.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-21-amicable-numbers.md @@ -12,37 +12,37 @@ Let d(`n`) be defined as the sum of proper divisors of `n` (numbers less than `n If d(`a`) = `b` and d(`b`) = `a`, where `a` ≠ `b`, then `a` and `b` are an amicable pair and each of `a` and `b` are called amicable numbers. -For example, the proper divisors of 220 are 1, 2, 4, 5, 10, 11, 20, 22, 44, 55 and 110; therefore d(220) = 284. The proper divisors of 284 are 1, 2, 4, 71 and 142; so d(284) = 220. +Zum Beispiel sind die richtigen Teiler von 220 1, 2, 4, 5, 10, 11, 20, 22, 44, 55 und 110; daher ist d(220) = 284. Die richtigen Teiler von 284 sind 1, 2, 4, 71 und 142; also ist d(284) = 220. -Evaluate the sum of all the amicable numbers under `n`. +Berechne die Summe aller gütigen Zahlen unter `n`. # --hints-- -`sumAmicableNum(1000)` should return a number. +`sumAmicableNum(1000)` sollte eine Zahl zurückgeben. ```js assert(typeof sumAmicableNum(1000) === 'number'); ``` -`sumAmicableNum(1000)` should return 504. +`sumAmicableNum(1000)` sollte 504 zurückgeben. ```js assert.strictEqual(sumAmicableNum(1000), 504); ``` -`sumAmicableNum(2000)` should return 2898. +`sumAmicableNum(2000)` sollte 2898 zurückgeben. ```js assert.strictEqual(sumAmicableNum(2000), 2898); ``` -`sumAmicableNum(5000)` should return 8442. +`sumAmicableNum(5000)` sollte 8442 zurückgeben. ```js assert.strictEqual(sumAmicableNum(5000), 8442); ``` -`sumAmicableNum(10000)` should return 31626. +`sumAmicableNum(10000)` sollte 31626 zurückgeben. ```js assert.strictEqual(sumAmicableNum(10000), 31626); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-22-names-scores.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-22-names-scores.md index 4c8df4383a7..de346b3ec3a 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-22-names-scores.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-22-names-scores.md @@ -8,33 +8,33 @@ dashedName: problem-22-names-scores # --description-- -Using `names`, an array defined in the background containing over five-thousand first names, begin by sorting it into alphabetical order. Then working out the alphabetical value for each name, multiply this value by its alphabetical position in the list to obtain a name score. +Using `names`, an array defined in the background containing over five-thousand first names, begin by sorting it into alphabetical order. Anschließend wird der alphabetische Wert für jeden Namen berechnet und mit der alphabetischen Position in der Liste multipliziert, um eine Punktzahl für den Namen zu erhalten. -For example, when the list is sorted into alphabetical order, COLIN, which is worth 3 + 15 + 12 + 9 + 14 = 53, is the 938th name in the list. So, COLIN would obtain a score of 938 × 53 = 49714. +For example, when the list is sorted into alphabetical order, COLIN, which is worth 3 + 15 + 12 + 9 + 14 = 53, is the 938th name in the list. COLIN würde also eine Punktzahl von 938 × 53 = 49714 erhalten. What is the total of all the name scores in the array? # --hints-- -`namesScores(test1)` should return a number. +`namesScores(test1)` sollte eine Zahl zurückgeben. ```js assert(typeof namesScores(test1) === 'number'); ``` -`namesScores(test1)` should return 791. +`namesScores(test1)` sollte 791 ergeben. ```js assert.strictEqual(namesScores(test1), 791); ``` -`namesScores(test2)` should return 1468. +`namesScores(test2)` sollte 1468 zurückgeben. ```js assert.strictEqual(namesScores(test2), 1468); ``` -`namesScores(names)` should return 871198282. +`namesScores(names)` sollte 871198282 zurückgeben. ```js assert.strictEqual(namesScores(names), 871198282); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-23-non-abundant-sums.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-23-non-abundant-sums.md index cc7079af8c4..d6e07ee38bf 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-23-non-abundant-sums.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-23-non-abundant-sums.md @@ -1,6 +1,6 @@ --- id: 5900f3831000cf542c50fe96 -title: 'Problem 23: Non-abundant sums' +title: 'Problem 23: Nicht-abundante Summen' challengeType: 1 forumTopicId: 301873 dashedName: problem-23-non-abundant-sums @@ -8,7 +8,7 @@ dashedName: problem-23-non-abundant-sums # --description-- -A perfect number is a number for which the sum of its proper divisors is exactly equal to the number. For example, the sum of the proper divisors of 28 would be 1 + 2 + 4 + 7 + 14 = 28, which means that 28 is a perfect number. +A perfect number is a number for which the sum of its proper divisors is exactly equal to the number. Die Summe der richtigen Teiler von 28 wäre zum Beispiel 1 + 2 + 4 + 7 + 14 = 28, was bedeutet, dass 28 eine perfekte Zahl ist. A number `n` is called deficient if the sum of its proper divisors is less than `n` and it is called abundant if this sum exceeds `n`. @@ -18,31 +18,31 @@ Find the sum of all positive integers <= `n` which cannot be written as the s # --hints-- -`sumOfNonAbundantNumbers(10000)` should return a number. +`sumOfNonAbundantNumbers(10000)` sollte eine Zahl zurückgeben. ```js assert(typeof sumOfNonAbundantNumbers(10000) === 'number'); ``` -`sumOfNonAbundantNumbers(10000)` should return 3731004. +`sumOfNonAbundantNumbers(10000)` sollte 3731004 zurückgeben. ```js assert(sumOfNonAbundantNumbers(10000) === 3731004); ``` -`sumOfNonAbundantNumbers(15000)` should return 4039939. +`sumOfNonAbundantNumbers(15000)` sollte 4039939 zurückgeben. ```js assert(sumOfNonAbundantNumbers(15000) === 4039939); ``` -`sumOfNonAbundantNumbers(20000)` should return 4159710. +`sumOfNonAbundantNumbers(20000)` sollte 4159710 zurückgeben. ```js assert(sumOfNonAbundantNumbers(20000) === 4159710); ``` -`sumOfNonAbundantNumbers(28123)` should return 4179871. +`sumOfNonAbundantNumbers(28123)` sollte 4179871 zurückgeben. ```js assert(sumOfNonAbundantNumbers(28123) === 4179871); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-24-lexicographic-permutations.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-24-lexicographic-permutations.md index 91572e2dd40..e4dde43ff11 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-24-lexicographic-permutations.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-24-lexicographic-permutations.md @@ -1,6 +1,6 @@ --- id: 5900f3841000cf542c50fe97 -title: 'Problem 24: Lexicographic permutations' +title: 'Problem 24: Lexikographische Permutationen' challengeType: 1 forumTopicId: 301885 dashedName: problem-24-lexicographic-permutations @@ -8,39 +8,39 @@ dashedName: problem-24-lexicographic-permutations # --description-- -A permutation is an ordered arrangement of objects. For example, 3124 is one possible permutation of the digits 1, 2, 3 and 4. If all of the permutations are listed numerically or alphabetically, we call it lexicographic order. The lexicographic permutations of 0, 1 and 2 are: +Eine Permutation ist eine geordnete Anordnung von Objekten. Zum Beispiel ist 3124 eine mögliche Permutation der Ziffern 1, 2, 3 und 4. Wenn alle Permutationen numerisch oder alphabetisch aufgelistet sind, nennen wir sie lexikographisch. Die lexikographischen Permutationen von 0, 1 und 2 sind: -
012   021   102   120   201   210
+
012 021 102 120 201 210
-What is the `n`th lexicographic permutation of the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9? +Was ist die `n`-te lexikographische Permutation der Ziffern 0, 1, 2, 3, 4, 5, 6, 7, 8 und 9? # --hints-- -`lexicographicPermutations(699999)` should return a number. +`lexicographicPermutations(699999)` sollte eine Zahl zurückgeben. ```js assert(typeof lexicographicPermutations(699999) === 'number'); ``` -`lexicographicPermutations(699999)` should return 1938246570. +`lexicographicPermutations(699999)` sollte 1938246570 zurückgeben. ```js assert(lexicographicPermutations(699999) == 1938246570); ``` -`lexicographicPermutations(899999)` should return 2536987410. +`lexicographicPermutations(899999)` sollte 2536987410 zurückgeben. ```js assert(lexicographicPermutations(899999) == 2536987410); ``` -`lexicographicPermutations(900000)` should return 2537014689. +`lexicographicPermutations(900000)` sollte 2537014689 zurückgeben. ```js assert(lexicographicPermutations(900000) == 2537014689); ``` -`lexicographicPermutations(999999)` should return 2783915460. +`lexicographicPermutations(999999)` sollte 2783915460 zurückgeben. ```js assert(lexicographicPermutations(999999) == 2783915460); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-25-1000-digit-fibonacci-number.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-25-1000-digit-fibonacci-number.md index 25d18d786ef..ebdad1aa143 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-25-1000-digit-fibonacci-number.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-25-1000-digit-fibonacci-number.md @@ -1,6 +1,6 @@ --- id: 5900f3851000cf542c50fe98 -title: 'Problem 25: 1000-digit Fibonacci number' +title: 'Problem 25: 1000-stellige Fibonacci Nummer' challengeType: 1 forumTopicId: 301897 dashedName: problem-25-1000-digit-fibonacci-number @@ -8,45 +8,45 @@ dashedName: problem-25-1000-digit-fibonacci-number # --description-- -The Fibonacci sequence is defined by the recurrence relation: +Die Fibonacci Sequenz wird durch die Wiederholungsbeziehung definiert: -
Fn = Fn−1 + Fn−2, where F1 = 1 and F2 = 1.
+
Fn = Fn−1 + Fn−2, wobei F1 = 1 and F2 = 1.
-Hence the first 12 terms will be: +Die ersten 12 Begriffe lauten demnach:
F1 = 1
F2 = 1
F3 = 2
F4 = 3
F5 = 5
F6 = 8
F7 = 13
F8 = 21
F9 = 34
F10 = 55
F11 = 89
F12 = 144
-The 12th term, F12, is the first term to contain three digits. +Der 12. Term, F12, ist der erste Term, der drei Ziffern enthält. -What is the index of the first term in the Fibonacci sequence to contain `n` digits? +Was ist der Index des ersten Begriffs in der Fibonacci-Folge, der `n` Ziffern enthält? # --hints-- -`digitFibonacci(5)` should return a number. +`digitFibonacci(5)` sollte eine Zahl zurückgeben. ```js assert(typeof digitFibonacci(5) === 'number'); ``` -`digitFibonacci(5)` should return 21. +`digitFibonacci(5)` sollte 21 zurückgeben. ```js assert.strictEqual(digitFibonacci(5), 21); ``` -`digitFibonacci(10)` should return 45. +`digitFibonacci(10)` sollte 45 zurückgeben. ```js assert.strictEqual(digitFibonacci(10), 45); ``` -`digitFibonacci(15)` should return 69. +`digitFibonacci(15)` sollte 69 zurückgeben. ```js assert.strictEqual(digitFibonacci(15), 69); ``` -`digitFibonacci(20)` should return 93. +`digitFibonacci(20)` sollte 93 zurückgeben. ```js assert.strictEqual(digitFibonacci(20), 93); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-26-reciprocal-cycles.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-26-reciprocal-cycles.md index 580ba5807a3..69b00a1d180 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-26-reciprocal-cycles.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-26-reciprocal-cycles.md @@ -1,6 +1,6 @@ --- id: 5900f3861000cf542c50fe99 -title: 'Problem 26: Reciprocal cycles' +title: 'Problem 26: Reziproke Zyklen' challengeType: 1 forumTopicId: 301908 dashedName: problem-26-reciprocal-cycles @@ -8,41 +8,41 @@ dashedName: problem-26-reciprocal-cycles # --description-- -A unit fraction contains 1 in the numerator. The decimal representation of the unit fractions with denominators 2 to 10 are given: +Ein Einheitsbruch enthält 1 im Zähler. Die Dezimaldarstellung der Einheitsbrüche mit den Nennern 2 bis 10 ist gegeben: -
1/2 = 0.5
1/3 = 0.(3)
1/4 = 0.25
1/5 = 0.2
1/6 = 0.1(6)
1/7 = 0.(142857)
1/8 = 0.125
1/9 = 0.(1)
1/10 = 0.1
+
1/2 = 0.5
1/3 = 0.(3)
1/4 = 0.25
1/5 = 0.2
1/6 = 0.1(6)
1/7 = 0.(142857)
1/8 = 0.125
1/9 = 0.(1)
1/10 = 0.1
-Where 0.1(6) means 0.166666..., and has a 1-digit recurring cycle. It can be seen that 1/7 has a 6-digit recurring cycle. +Dabei bedeutet 0,1(6) 0,166666... und hat einen 1-stelligen wiederkehrenden Zyklus. Er zeigt, dass 1/7 einen 6-stelligen wiederkehrenden Zyklus hat. -Find the value of `d` < `n` for which 1/d contains the longest recurring cycle in its decimal fraction part. +Finde den Wert von `d` < `n`, für den 1/d den längsten wiederkehrenden Zyklus in seinem Dezimalbruchteil enthält. # --hints-- -`reciprocalCycles(700)` should return a number. +`reciprocalCycles(700)` sollte eine Zahl zurückgeben. ```js assert(typeof reciprocalCycles(700) === 'number'); ``` -`reciprocalCycles(700)` should return 659. +`reciprocalCycles(700)` sollte 659 zurückgeben. ```js assert(reciprocalCycles(700) == 659); ``` -`reciprocalCycles(800)` should return 743. +`reciprocalCycles(800)` sollte 743 zurückgeben. ```js assert(reciprocalCycles(800) == 743); ``` -`reciprocalCycles(900)` should return 887. +`reciprocalCycles(900)` sollte 887 zurückgeben. ```js assert(reciprocalCycles(900) == 887); ``` -`reciprocalCycles(1000)` should return 983. +`reciprocalCycles(1000)` sollte 983 zurückgeben. ```js assert(reciprocalCycles(1000) == 983); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-27-quadratic-primes.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-27-quadratic-primes.md index e7c8ebe01eb..8c48f3cb97b 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-27-quadratic-primes.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-27-quadratic-primes.md @@ -1,6 +1,6 @@ --- id: 5900f3871000cf542c50fe9a -title: 'Problem 27: Quadratic primes' +title: 'Problem 27: Quadratische Primzahlen' challengeType: 1 forumTopicId: 301919 dashedName: problem-27-quadratic-primes @@ -8,51 +8,51 @@ dashedName: problem-27-quadratic-primes # --description-- -Euler discovered the remarkable quadratic formula: +Euler entdeckte die bemerkenswerte quadratische Formel:
$n^2 + n + 41$
-It turns out that the formula will produce 40 primes for the consecutive integer values $0 \\le n \\le 39$. However, when $n = 40, 40^2 + 40 + 41 = 40(40 + 1) + 41$ is divisible by 41, and certainly when $n = 41, 41^2 + 41 + 41$ is clearly divisible by 41. +Er stellt sich heraus, dass die Formel 40 Primzahlen für die aufeinanderfolgenden ganzzahligen Werte $0 \\le n \\le 39$ ergibt. Wenn $n = 40 ist, ist jedoch 40^2 + 40 + 41 = 40(40 + 1) + 41$ durch 41 teilbar, und wenn $n = 41 ist, ist 41^2 + 41 + 41$ eindeutig durch 41 teilbar. -The incredible formula $n^2 - 79n + 1601$ was discovered, which produces 80 primes for the consecutive values $0 \\le n \\le 79$. The product of the coefficients, −79 and 1601, is −126479. +Die unglaubliche Formel $n^2 - 79n + 1601$ wurde entdeckt, die 80 Primzahlen für die aufeinanderfolgenden Werte $0 \\le n \\le 79$ liefert. Das Produkt der Koeffizienten -79 und 1601 ist -126479. -Considering quadratics of the form: +Betrachtet man Quadratzahlen der Form:
- $n^2 + an + b$, where $|a| < range$ and $|b| \le range$
- where $|n|$ is the modulus/absolute value of $n$
+ $n^2 + an + b$, wobei $|a| < range$ and $|b| \le range$
+ wobei $|n|$ der Modulus/Absolutwert von $n$ ist
e.g. $|11| = 11$ and $|-4| = 4$
-Find the product of the coefficients, $a$ and $b$, for the quadratic expression that produces the maximum number of primes for consecutive values of $n$, starting with $n = 0$. +Finde das Produkt der Koeffizienten $a$ und $b$ für den quadratischen Ausdruck, der die maximale Anzahl von Primzahlen für aufeinanderfolgende Werte von $n$, beginnend mit $n = 0$, ergibt. # --hints-- -`quadraticPrimes(200)` should return a number. +`quadraticPrimes(200)` sollte eine Zahl zurückgeben. ```js assert(typeof quadraticPrimes(200) === 'number'); ``` -`quadraticPrimes(200)` should return -4925. +`quadraticPrimes(200)` sollte -4925 zurückgeben. ```js assert(quadraticPrimes(200) == -4925); ``` -`quadraticPrimes(500)` should return -18901. +`quadraticPrimes(500)` sollte -18901 zurückgeben. ```js assert(quadraticPrimes(500) == -18901); ``` -`quadraticPrimes(800)` should return -43835. +`quadraticPrimes(800)` sollte -43835 zurückgeben. ```js assert(quadraticPrimes(800) == -43835); ``` -`quadraticPrimes(1000)` should return -59231. +`quadraticPrimes(1000)` sollte -59231 zurückgeben. ```js assert(quadraticPrimes(1000) == -59231); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-28-number-spiral-diagonals.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-28-number-spiral-diagonals.md index eee50073f68..7f8581a473a 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-28-number-spiral-diagonals.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-28-number-spiral-diagonals.md @@ -1,6 +1,6 @@ --- id: 5900f3881000cf542c50fe9b -title: 'Problem 28: Number spiral diagonals' +title: 'Problem 28: Anzahl der spiralen Diagonalen' challengeType: 1 forumTopicId: 301930 dashedName: problem-28-number-spiral-diagonals @@ -8,47 +8,47 @@ dashedName: problem-28-number-spiral-diagonals # --description-- -Starting with the number 1 and moving to the right in a clockwise direction a 5 by 5 spiral is formed as follows: +Beginnend mit der Zahl 1 und im Uhrzeigersinn nach rechts wird eine 5-mal-5-Spirale wie folgt gebildet:
21
22 23 24
25

- 20  
7
 8  
9
10
- 19  6  
1
 2 11
- 18  
5
 4  
3
12
+ 20
7
8
9
10
+ 19 6
1
2 11
+ 18
5
4
3
12
17
16 15 14
13

-It can be verified that the sum of the numbers on the diagonals is 101. +Er kann überprüft werden, dass die Summe der Zahlen auf den Diagonalen 101 ist. -What is the sum of the numbers on the diagonals in an `n` by `n` spiral formed in the same way? +Wie hoch ist die Summe der Zahlen auf den Diagonalen einer `n` mal `n`-Spirale, die auf die gleiche Weise gebildet wird? # --hints-- -`spiralDiagonals(101)` should return a number. +`spiralDiagonals(101)` sollte eine Zahl zurückgeben. ```js assert(typeof spiralDiagonals(101) === 'number'); ``` -`spiralDiagonals(101)` should return 692101. +`spiralDiagonals(101)` sollte 692101 zurückgeben. ```js assert(spiralDiagonals(101) == 692101); ``` -`spiralDiagonals(303)` should return 18591725. +`spiralDiagonals(303)` sollte 18591725 zurückgeben. ```js assert(spiralDiagonals(303) == 18591725); ``` -`spiralDiagonals(505)` should return 85986601. +`spiralDiagonals(505)` sollte 85986601 zurückgeben. ```js assert(spiralDiagonals(505) == 85986601); ``` -`spiralDiagonals(1001)` should return 669171001. +`spiralDiagonals(1001)` sollte 669171001 zurückgeben. ```js assert(spiralDiagonals(1001) == 669171001); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-29-distinct-powers.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-29-distinct-powers.md index 4b8f00162ee..1054d0adc61 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-29-distinct-powers.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-29-distinct-powers.md @@ -8,7 +8,7 @@ dashedName: problem-29-distinct-powers # --description-- -Consider all integer combinations of $a^b$ for 2 ≤ a ≤ 5 and 2 ≤ b ≤ 5: +Betrachte alle ganzzahligen Kombinationen von $a^b$ für 2 ≤ a ≤ 5 und 2 ≤ b ≤ 5:
22=4, 23=8, 24=16, 25=32
@@ -17,41 +17,41 @@ Consider all integer combinations of $a^b$ for 2 ≤ a ≤ 5 and 2 ≤ b ≤ 5: 52=25, 53=125, 54=625, 55=3125
-If they are then placed in numerical order, with any repeats removed, we get the following sequence of 15 distinct terms: +Wenn man sie dann in numerischer Reihenfolge anordnet und Wiederholungen entfernt, erhält man die folgende Sequenz von 15 verschiedenen Begriffen:
4, 8, 9, 16, 25, 27, 32, 64, 81, 125, 243, 256, 625, 1024, 3125
-How many distinct terms are in the sequence generated by $a^b$ for 2 ≤ `a` ≤ `n` and 2 ≤ `b` ≤ `n`? +Wie viele verschiedene Begriffe sind in der durch $a^b$ erzeugten Sequenz für 2 ≤ `a` ≤ `n` und 2 ≤ `b` ≤ `n`? # --hints-- -`distinctPowers(15)` should return a number. +`distinctPowers(15)` sollte eine Zahl zurückgeben. ```js assert(typeof distinctPowers(15) === 'number'); ``` -`distinctPowers(15)` should return 177. +`distinctPowers(15)` sollte 177 zurückgeben. ```js assert.strictEqual(distinctPowers(15), 177); ``` -`distinctPowers(20)` should return 324. +`distinctPowers(20)` sollte 324 ergeben. ```js assert.strictEqual(distinctPowers(20), 324); ``` -`distinctPowers(25)` should return 519. +`distinctPowers(25)` sollte 519 zurückgeben. ```js assert.strictEqual(distinctPowers(25), 519); ``` -`distinctPowers(30)` should return 755. +`distinctPowers(30)` sollte 755 zurückgeben. ```js assert.strictEqual(distinctPowers(30), 755); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-30-digit-n-powers.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-30-digit-n-powers.md index 1e7472bce84..45b61278c01 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-30-digit-n-powers.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-30-digit-n-powers.md @@ -8,7 +8,7 @@ dashedName: problem-30-digit-n-powers # --description-- -Surprisingly there are only three numbers that can be written as the sum of fourth powers of their digits: +Überraschenderweise gibt es nur drei Zahlen, die sich als Summe von vierten Potenzen ihrer Ziffern schreiben lassen:
1634 = 14 + 64 + 34 + 44
@@ -18,37 +18,37 @@ Surprisingly there are only three numbers that can be written as the sum of four As 1 = 14 is not a sum it is not included. -The sum of these numbers is 1634 + 8208 + 9474 = 19316. +Die Summe dieser Zahlen ist 1634 + 8208 + 9474 = 19316. -Find the sum of all the numbers that can be written as the sum of `n` powers of their digits. +Finde die Summe aller Zahlen, die sich als Summe von `n` Potenzen ihrer Ziffern schreiben lassen. # --hints-- -`digitnPowers(2)` should return a number. +`digitnPowers(2)` sollte eine Zahl zurückgeben. ```js assert(typeof digitnPowers(2) === 'number'); ``` -`digitnPowers(2)` should return 0. +`digitnPowers(2)` sollte 0 zurückgeben. ```js assert(digitnPowers(2) == 0); ``` -`digitnPowers(3)` should return 1301. +`digitnPowers(3)` sollte 1301 zurückgeben. ```js assert(digitnPowers(3) == 1301); ``` -`digitnPowers(4)` should return 19316. +`digitnPowers(4)` sollte 19316 zurückgeben. ```js assert(digitnPowers(4) == 19316); ``` -`digitnPowers(5)` should return 443839. +`digitnPowers(5)` sollte 443839 zurückgeben. ```js assert(digitnPowers(5) == 443839); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-31-coin-sums.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-31-coin-sums.md index ae4372cd69f..c2c65eb9c7e 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-31-coin-sums.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-31-coin-sums.md @@ -1,6 +1,6 @@ --- id: 5900f38b1000cf542c50fe9e -title: 'Problem 31: Coin sums' +title: 'Problem 31: Münzsummen' challengeType: 1 forumTopicId: 301965 dashedName: problem-31-coin-sums @@ -8,43 +8,43 @@ dashedName: problem-31-coin-sums # --description-- -In England the currency is made up of pound, £, and pence, p, and there are eight coins in general circulation: +In England besteht die Währung aus Pfund, £, und Pence, p, und es sind acht Münzen im Umlauf:
1p, 2p, 5p, 10p, 20p, 50p, £1 (100p) and £2 (200p).
-It is possible to make £2 in the following way: +Er kann £2 auf folgende Weise herstellen:
1×£1 + 1×50p + 2×20p + 1×5p + 1×2p + 3×1p
-How many different ways can `n` pence be made using any number of coins? +Wie viele verschiedene Möglichkeiten gibt es, `n` Pence aus einer beliebigen Anzahl von Münzen zu erhalten? # --hints-- -`coinSums(50)` should return a number. +`coinSums(50)` sollte eine Zahl zurückgeben. ```js assert(typeof coinSums(50) === 'number'); ``` -`coinSums(50)` should return 451. +`coinSums(50)` sollte 451 zurückgeben. ```js assert(coinSums(50) == 451); ``` -`coinSums(100)` should return 4563. +`coinSums(100)` sollte 4563 zurückgeben. ```js assert(coinSums(100) == 4563); ``` -`coinSums(150)` should return 21873. +`coinSums(150)` sollte 21873 zurückgeben. ```js assert(coinSums(150) == 21873); ``` -`coinSums(200)` should return 73682. +`coinSums(200)` sollte 73682 zurückgeben. ```js assert(coinSums(200) == 73682); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-32-pandigital-products.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-32-pandigital-products.md index 5fe7d0495c5..849aac9f202 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-32-pandigital-products.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-32-pandigital-products.md @@ -8,47 +8,47 @@ dashedName: problem-32-pandigital-products # --description-- -We shall say that an `n`-digit number is pandigital if it makes use of all the digits 1 to `n` exactly once; for example, the 5-digit number, 15234, is 1 through 5 pandigital. +Wir sagen, dass eine `n`-stellige Zahl pandigital ist, wenn sie alle Ziffern 1 bis `n` genau einmal verwendet; zum Beispiel ist die 5-stellige Zahl 15234 von 1 bis 5 pandigital. -The product 7254 is unusual, as the identity, 39 × 186 = 7254, containing multiplicand, multiplier, and product is 1 through 9 pandigital. +Das Produkt 7254 ist ungewöhnlich, da die Identität 39 × 186 = 7254, die Multiplikand, Multiplikator und Produkt enthält, 1 bis 9 pandigital ist. -Find the sum of all products whose multiplicand/multiplier/product identity can be written as a 1 through `n` pandigital. +Finde die Summe aller Produkte, deren Multiplikand/Multiplikator/Produkt-Identität als 1 durch `n` pandigital geschrieben werden kann. -**Hint:** Some products can be obtained in more than one way so be sure to only include it once in your sum. +**Hinweis:** Einige Produkte können auf mehr als eine Weise erhalten werden, also achte darauf darauf, dass du sie nur einmal in deine Summe miteinbeziehst. # --hints-- -`pandigitalProducts(4)` should return a number. +`pandigitalProducts(4)` sollte eine Zahl zurückgeben. ```js assert(typeof pandigitalProducts(4) === 'number'); ``` -`pandigitalProducts(4)` should return `12`. +`pandigitalProducts(4)` sollte `12` zurückgeben. ```js assert.strictEqual(pandigitalProducts(4), 12); ``` -`pandigitalProducts(6)` should return `162`. +`pandigitalProducts(6)` sollte `162` zurückgeben. ```js assert.strictEqual(pandigitalProducts(6), 162); ``` -`pandigitalProducts(7)` should return `0`. +`pandigitalProducts(7)` sollte `0` zurückgeben. ```js assert.strictEqual(pandigitalProducts(7), 0); ``` -`pandigitalProducts(8)` should return `13458`. +`pandigitalProducts(8)` sollte `13458` zurückgeben. ```js assert.strictEqual(pandigitalProducts(8), 13458); ``` -`pandigitalProducts(9)` should return `45228`. +`pandigitalProducts(9)` sollte `45228` zurückgeben. ```js assert.strictEqual(pandigitalProducts(9), 45228); diff --git a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-341-golombs-self-describing-sequence.md b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-341-golombs-self-describing-sequence.md index f3ebbd9cdd0..6027ef3b7bf 100644 --- a/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-341-golombs-self-describing-sequence.md +++ b/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-341-golombs-self-describing-sequence.md @@ -1,6 +1,6 @@ --- id: 5900f4c11000cf542c50ffd3 -title: 'Problem 341: Golomb''s self-describing sequence' +title: 'Problem 341: selbstbeschreibende Golomb-Folge' challengeType: 1 forumTopicId: 302000 dashedName: problem-341-golombs-self-describing-sequence diff --git a/curriculum/challenges/italian/05-back-end-development-and-apis/basic-node-and-express/serve-json-on-a-specific-route.md b/curriculum/challenges/italian/05-back-end-development-and-apis/basic-node-and-express/serve-json-on-a-specific-route.md index 3bd1f922d43..46b83a83965 100644 --- a/curriculum/challenges/italian/05-back-end-development-and-apis/basic-node-and-express/serve-json-on-a-specific-route.md +++ b/curriculum/challenges/italian/05-back-end-development-and-apis/basic-node-and-express/serve-json-on-a-specific-route.md @@ -18,7 +18,7 @@ Servi l'oggetto `{"message": "Hello json"}` come risposta, in formato JSON, alle # --hints-- -The endpoint `/json` should serve the JSON object `{"message": "Hello json"}` +L'endpoint `/json` dovrebbe servire l'oggetto JSON `{"message": "Hello json"}` ```js (getUserInput) => diff --git a/curriculum/challenges/japanese/05-back-end-development-and-apis/basic-node-and-express/get-query-parameter-input-from-the-client.md b/curriculum/challenges/japanese/05-back-end-development-and-apis/basic-node-and-express/get-query-parameter-input-from-the-client.md index 29944fc8ab9..8df274a0bda 100644 --- a/curriculum/challenges/japanese/05-back-end-development-and-apis/basic-node-and-express/get-query-parameter-input-from-the-client.md +++ b/curriculum/challenges/japanese/05-back-end-development-and-apis/basic-node-and-express/get-query-parameter-input-from-the-client.md @@ -20,7 +20,7 @@ API エンドポイントを構築し、`GET /name` でマウントしてくだ # --hints-- -Test 1 : Your API endpoint should respond with `{ "name": "Mick Jagger" }` when the `/name` endpoint is called with `?first=Mick&last=Jagger` +テスト 1: API エンドポイントは、`/name` エンドポイントが `?first=Mick&last=Jagger` を使用して呼び出された場合 `{ "name": "Mick Jagger" }` を返します。 ```js (getUserInput) => @@ -38,7 +38,7 @@ Test 1 : Your API endpoint should respond with `{ "name": "Mick Jagger" }` when ); ``` -Test 2 : Your API endpoint should respond with `{ "name": "Keith Richards" }` when the `/name` endpoint is called with `?first=Keith&last=Richards` +テスト 2: API エンドポイントは、`/name` エンドポイントが `?first=Keith&last=Richards` を使用して呼び出された場合 `{ "name": "Keith Richards" }` を返します。 ```js (getUserInput) => diff --git a/curriculum/challenges/japanese/05-back-end-development-and-apis/basic-node-and-express/use-the-.env-file.md b/curriculum/challenges/japanese/05-back-end-development-and-apis/basic-node-and-express/use-the-.env-file.md index a7f9bd54d5a..367ac7c9163 100644 --- a/curriculum/challenges/japanese/05-back-end-development-and-apis/basic-node-and-express/use-the-.env-file.md +++ b/curriculum/challenges/japanese/05-back-end-development-and-apis/basic-node-and-express/use-the-.env-file.md @@ -18,11 +18,11 @@ dashedName: use-the--env-file プロジェクトディレクトリのルートに `.env` ファイルを作成し、変数 `MESSAGE_STYLE=uppercase` を保存してください。 -次に、前のチャレンジで作成した `/json` GET ルートハンドラーで、`process.env.MESSAGE_STYLE` にアクセスし、変数が `uppercase` に等しい場合にレスポンスオブジェクトの `message` を大文字に変換してください。 レスポンスオブジェクトは、 `MESSAGE_STYLE` の値に応じて、`{"message": "Hello json"}` または `{"message": "HELLO JSON"}` のいずれかにする必要があります。 Note that you must read the value of `process.env.MESSAGE_STYLE` **inside** the route handler, not outside of it, due to the way our tests run. +次に、前のチャレンジで作成した `/json` GET ルートハンドラーで、`process.env.MESSAGE_STYLE` にアクセスし、変数が `uppercase` に等しい場合にレスポンスオブジェクトの `message` を大文字に変換してください。 レスポンスオブジェクトは、 `MESSAGE_STYLE` の値に応じて、`{"message": "Hello json"}` または `{"message": "HELLO JSON"}` のいずれかにする必要があります。 テストの都合上、`process.env.MESSAGE_STYLE` の値はルートハンドラーの外側ではなく**内側**で読み取る必要がありますので注意してください。 ** 注: ** Replit を使用している場合は、 `.env` ファイルを作成することはできません。 代わりに、組み込みの SECRETS タブを使用して変数を追加してください。 -ローカル環境で作業している場合は、`dotenv` パッケージが必要です。 このパッケージにより、環境変数が `.env` ファイルから `process.env` に読み込まれます。 `dotenv` パッケージはすでにインストールされており、プロジェクトの `package.json` ファイルに含まれています。 At the top of your `myApp.js` file, add `require('dotenv').config()` to load the environment variables. +ローカル環境で作業している場合は、`dotenv` パッケージが必要です。 このパッケージにより、環境変数が `.env` ファイルから `process.env` に読み込まれます。 `dotenv` パッケージはすでにインストールされており、プロジェクトの `package.json` ファイルに含まれています。 `myApp.js` ファイルの先頭に `require('dotenv').config()` を追加して、環境変数を読み込んでください。 # --hints-- diff --git a/curriculum/challenges/japanese/06-quality-assurance/advanced-node-and-express/set-up-a-template-engine.md b/curriculum/challenges/japanese/06-quality-assurance/advanced-node-and-express/set-up-a-template-engine.md index 322e424557c..d5baf51bcde 100644 --- a/curriculum/challenges/japanese/06-quality-assurance/advanced-node-and-express/set-up-a-template-engine.md +++ b/curriculum/challenges/japanese/06-quality-assurance/advanced-node-and-express/set-up-a-template-engine.md @@ -20,7 +20,7 @@ If you use Replit, follow these steps to set up the project: - Next, you will see a `.replit` window. - Select `Use run command` and click the `Done` button. -When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the Solution Link field. +完了したら、プロジェクトの動作デモをどこか公開の場にホストしてください。 そして「回答のリンク」欄に、デモの URL を提出してください。 A template engine enables you to use static template files (such as those written in *Pug*) in your app. At runtime, the template engine replaces variables in a template file with actual values which can be supplied by your server. Then it transforms the template into a static HTML file that is sent to the client. This approach makes it easier to design an HTML page and allows for displaying variables on the page without needing to make an API call from the client. diff --git a/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-and-testing-with-chai/learn-how-javascript-assertions-work.md b/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-and-testing-with-chai/learn-how-javascript-assertions-work.md index fc8a87a70a3..de255811e07 100644 --- a/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-and-testing-with-chai/learn-how-javascript-assertions-work.md +++ b/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-and-testing-with-chai/learn-how-javascript-assertions-work.md @@ -14,13 +14,13 @@ dashedName: learn-how-javascript-assertions-work - Replit スタータープロジェクトを使用して、チャレンジを完了させる。 - 使い慣れたサイトビルダーを使用してプロジェクトを完了させる。 必ず GitHub リポジトリのすべてのファイルを取り込む。 -If you use Replit, follow these steps to set up the project: +Replit を使用する場合は、下記の手順でプロジェクトをセットアップしてください。 -- Start by importing the project on Replit. -- Next, you will see a `.replit` window. -- Select `Use run command` and click the `Done` button. +- まず、Replit でプロジェクトをインポートします。 +- すると、`.replit` ファイルのウィンドウが表示されます。 +- `Use run command` を選択して `Done` ボタンをクリックします。 -When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the Solution Link field. +完了したら、プロジェクトの動作デモをどこか公開の場にホストしてください。 そして「回答のリンク」欄に、デモの URL を提出してください。 # --instructions-- diff --git a/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/american-british-translator.md b/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/american-british-translator.md index 0de312fd98c..285dbe0b3af 100644 --- a/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/american-british-translator.md +++ b/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/american-british-translator.md @@ -14,13 +14,13 @@ dashedName: american-british-translator - Replit スタータープロジェクトを使用して、プロジェクトを完了させる。 - 使い慣れたサイトビルダーを使用してプロジェクトを完了させる。 必ず GitHub リポジトリのすべてのファイルを取り込む。 -If you use Replit, follow these steps to set up the project: +Replit を使用する場合は、下記の手順でプロジェクトをセットアップしてください。 -- Start by importing the project on Replit. -- Next, you will see a `.replit` window. -- Select `Use run command` and click the `Done` button. +- まず、Replit でプロジェクトをインポートします。 +- すると、`.replit` ファイルのウィンドウが表示されます。 +- `Use run command` を選択して `Done` ボタンをクリックします。 -When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the Solution Link field. Optionally, also submit a link to your project's source code in the GitHub Link field. +完了したら、プロジェクトの動作デモをどこか公開の場にホストしてください。 そして「回答のリンク」欄に、デモの URL を提出してください。 必要に応じて、プロジェクトのソースコードへのリンクも「GitHub のリンク」欄に提出してください。 # --instructions-- @@ -29,36 +29,36 @@ When you are done, make sure a working demo of your project is hosted somewhere - Create all of the unit/functional tests in `tests/1_unit-tests.js` and `tests/2_functional-tests.js` - See the JavaScript files in `/components` for the different spelling and terms your application should translate - To run the tests on Replit, set `NODE_ENV` to `test` without quotes in the `.env` file -- To run the tests in the console, use the command `npm run test`. To open the Replit console, press Ctrl+Shift+P (Cmd if on a Mac) and type "open shell" +- コンソールでテストを実行するには、コマンド `npm run test` を使用してください。 Replit コンソールを開くには、Ctrl+Shift+P (Macの場合はCmd) を押して「open shell」と入力してください。 -Write the following tests in `tests/1_unit-tests.js`: +`tests/1_unit-tests.js` に以下のテストを記述してください。 -- Translate `Mangoes are my favorite fruit.` to British English -- Translate `I ate yogurt for breakfast.` to British English -- Translate `We had a party at my friend's condo.` to British English -- Translate `Can you toss this in the trashcan for me?` to British English -- Translate `The parking lot was full.` to British English -- Translate `Like a high tech Rube Goldberg machine.` to British English -- Translate `To play hooky means to skip class or work.` to British English -- Translate `No Mr. Bond, I expect you to die.` to British English -- Translate `Dr. Grosh will see you now.` to British English -- Translate `Lunch is at 12:15 today.` to British English -- Translate `We watched the footie match for a while.` to American English -- Translate `Paracetamol takes up to an hour to work.` to American English -- Translate `First, caramelise the onions.` to American English -- Translate `I spent the bank holiday at the funfair.` to American English -- Translate `I had a bicky then went to the chippy.` to American English -- Translate `I've just got bits and bobs in my bum bag.` to American English -- Translate `The car boot sale at Boxted Airfield was called off.` to American English -- Translate `Have you met Mrs Kalyani?` to American English -- Translate `Prof Joyner of King's College, London.` to American English -- Translate `Tea time is usually around 4 or 4.30.` to American English -- Highlight translation in `Mangoes are my favorite fruit.` -- Highlight translation in `I ate yogurt for breakfast.` -- Highlight translation in `We watched the footie match for a while.` -- Highlight translation in `Paracetamol takes up to an hour to work.` +- `Mangoes are my favorite fruit.` をイギリス英語に変換してください +- `I ate yogurt for breakfast.` をイギリス英語に変換してください +- `We had a party at my friend's condo.` をイギリス英語に変換してください +- `Can you toss this in the trashcan for me?` をイギリス英語に変換してください +- `The parking lot was full.` をイギリス英語に変換してください +- `Like a high tech Rube Goldberg machine.` をイギリス英語に変換してください +- `To play hooky means to skip class or work.` をイギリス英語に変換してください +- `No Mr. Bond, I expect you to die.` をイギリス英語に変換してください +- `Dr. Grosh will see you now.` をイギリス英語に変換してください +- `Lunch is at 12:15 today.` をイギリス英語に変換してください +- `We watched the footie match for a while.` をアメリカ英語に変換してください +- `Paracetamol takes up to an hour to work.` をアメリカ英語に変換してください +- `First, caramelise the onions.` をアメリカ英語に変換してください +- `I spent the bank holiday at the funfair.` をアメリカ英語に変換してください +- `I had a bicky then went to the chippy.` をアメリカ英語に変換してください +- `I've just got bits and bobs in my bum bag.` をアメリカ英語に変換してください +- `The car boot sale at Boxted Airfield was called off.` をアメリカ英語に変換してください +- `Have you met Mrs Kalyani?` をアメリカ英語に変換してください +- `Prof Joyner of King's College, London.` をアメリカ英語に変換してください +- `Tea time is usually around 4 or 4.30.` をアメリカ英語に変換してください +- `Mangoes are my favorite fruit.` の変換部分をハイライト表示してください +- `I ate yogurt for breakfast.` の変換部分をハイライト表示してください +- `We watched the footie match for a while.` の変換部分をハイライト表示してください +- `Paracetamol takes up to an hour to work.` の変換部分をハイライト表示してください -Write the following tests in `tests/2_functional-tests.js`: +次のテストを `tests/2_functional-tests.js` に記述してください。 - Translation with text and locale fields: POST request to `/api/translate` - Translation with text and invalid locale field: POST request to `/api/translate` @@ -69,7 +69,7 @@ Write the following tests in `tests/2_functional-tests.js`: # --hints-- -You should provide your own project, not the example URL. +サンプルの URL ではなく、自分で作成したプロジェクトを提出する必要があります。 ```js (getUserInput) => { diff --git a/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/issue-tracker.md b/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/issue-tracker.md index 9e0e0f5581f..f1126ff047e 100644 --- a/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/issue-tracker.md +++ b/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/issue-tracker.md @@ -20,17 +20,17 @@ If you use Replit, follow these steps to set up the project: - Next, you will see a `.replit` window. - Select `Use run command` and click the `Done` button. -When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the Solution Link field. Optionally, also submit a link to your project's source code in the GitHub Link field. +When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the Solution Link field. 必要に応じて、プロジェクトのソースコードへのリンクも「GitHub のリンク」欄に提出してください。 # --instructions-- - Complete the necessary routes in `/routes/api.js` -- Create all of the functional tests in `tests/2_functional-tests.js` -- Copy the `sample.env` file to `.env` and set the variables appropriately -- To run the tests uncomment `NODE_ENV=test` in your `.env` file -- To run the tests in the console, use the command `npm run test`. To open the Replit console, press Ctrl+Shift+P (Cmd if on a Mac) and type "open shell" +- `tests/2_functional-tests.js` にすべての機能テストを作成してください。 +- `sample.env` ファイルを `.env` ファイルにコピーし、変数を適切に設定してください。 +- テストを実行するには、`.env` ファイルの `NODE_ENV=test` をコメント解除してください。 +- コンソールでテストを実行するには、コマンド `npm run test` を使用してください。 Replit コンソールを開くには、Ctrl+Shift+P (Macの場合はCmd) を押して「open shell」と入力してください。 -Write the following tests in `tests/2_functional-tests.js`: +`tests/2_functional-tests.js` に次のテストを記述してください。 - Create an issue with every field: POST request to `/api/issues/{project}` - Create an issue with only required fields: POST request to `/api/issues/{project}` @@ -49,7 +49,7 @@ Write the following tests in `tests/2_functional-tests.js`: # --hints-- -You can provide your own project, not the example URL. +サンプルの URL ではなく、自分で作成したプロジェクトを提出してください。 ```js (getUserInput) => { @@ -342,7 +342,7 @@ async (getUserInput) => { }; ``` -All 14 functional tests are complete and passing. +14 件の機能テストがすべて記述され、成功する状態になっています。 ```js async (getUserInput) => { diff --git a/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/metric-imperial-converter.md b/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/metric-imperial-converter.md index ea74d70bddd..7dcffe5c907 100644 --- a/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/metric-imperial-converter.md +++ b/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/metric-imperial-converter.md @@ -14,13 +14,13 @@ dashedName: metric-imperial-converter - Replit スタータープロジェクトを使用して、プロジェクトを完了させる。 - 使い慣れたサイトビルダーを使用してプロジェクトを完了させる。 必ず GitHub リポジトリのすべてのファイルを取り込む。 -If you use Replit, follow these steps to set up the project: +Replit を使用する場合は、下記の手順でプロジェクトをセットアップしてください。 -- Start by importing the project on Replit. -- Next, you will see a `.replit` window. -- Select `Use run command` and click the `Done` button. +- まず、Replit でプロジェクトをインポートします。 +- すると、`.replit` ファイルのウィンドウが表示されます。 +- `Use run command` を選択して `Done` ボタンをクリックします。 -When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the Solution Link field. Optionally, also submit a link to your project's source code in the GitHub Link field. +完了したら、プロジェクトの動作デモをどこか公開の場にホストしてください。 そして「回答のリンク」欄に、デモの URL を提出してください。 必要に応じて、プロジェクトのソースコードへのリンクも「GitHub のリンク」欄に提出してください。 # --instructions-- @@ -28,9 +28,9 @@ When you are done, make sure a working demo of your project is hosted somewhere - Complete the necessary routes in `/routes/api.js` - Copy the `sample.env` file to `.env` and set the variables appropriately - To run the tests uncomment `NODE_ENV=test` in your `.env` file -- To run the tests in the console, use the command `npm run test`. To open the Replit console, press Ctrl+Shift+P (Cmd if on a Mac) and type "open shell" +- コンソールでテストを実行するには、コマンド `npm run test` を使用してください。 Replit コンソールを開くには、Ctrl+Shift+P (Macの場合はCmd) を押して「open shell」と入力してください。 -Write the following tests in `tests/1_unit-tests.js`: +`tests/1_unit-tests.js` に以下のテストを記述してください。 - `convertHandler` should correctly read a whole number input. - `convertHandler` should correctly read a decimal number input. @@ -49,7 +49,7 @@ Write the following tests in `tests/1_unit-tests.js`: - `convertHandler` should correctly convert `lbs` to `kg`. - `convertHandler` should correctly convert `kg` to `lbs`. -Write the following tests in `tests/2_functional-tests.js`: +次のテストを `tests/2_functional-tests.js` に記述してください。 - Convert a valid input such as `10L`: `GET` request to `/api/convert`. - Convert an invalid input such as `32g`: `GET` request to `/api/convert`. @@ -263,7 +263,7 @@ async getUserInput => { }; ``` -All 16 unit tests are complete and passing. +16 件のユニットテストがすべて記述され、成功する状態になっています。 ```js async getUserInput => { @@ -288,7 +288,7 @@ async getUserInput => { }; ``` -All 5 functional tests are complete and passing. +5 件の機能テストがすべて記述され、成功する状態になっています。 ```js async getUserInput => { diff --git a/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/personal-library.md b/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/personal-library.md index d43ef773615..fe89eeceb60 100644 --- a/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/personal-library.md +++ b/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/personal-library.md @@ -14,13 +14,13 @@ dashedName: personal-library - Replit スタータープロジェクトを使用して、プロジェクトを完了させる。 - 使い慣れたサイトビルダーを使用してプロジェクトを完了させる。 必ず GitHub リポジトリのすべてのファイルを取り込む。 -If you use Replit, follow these steps to set up the project: +Replit を使用する場合は、下記の手順でプロジェクトをセットアップしてください。 -- Start by importing the project on Replit. -- Next, you will see a `.replit` window. -- Select `Use run command` and click the `Done` button. +- まず、Replit でプロジェクトをインポートします。 +- すると、`.replit` ファイルのウィンドウが表示されます。 +- `Use run command` を選択して `Done` ボタンをクリックします。 -When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the Solution Link field. Optionally, also submit a link to your project's source code in the GitHub Link field. +完了したら、プロジェクトの動作デモをどこか公開の場にホストしてください。 そして「回答のリンク」欄に、デモの URL を提出してください。 必要に応じて、プロジェクトのソースコードへのリンクも「GitHub のリンク」欄に提出してください。 # --instructions-- @@ -31,7 +31,7 @@ When you are done, make sure a working demo of your project is hosted somewhere # --hints-- -You can provide your own project, not the example URL. +サンプルの URL ではなく、自分で作成したプロジェクトを提出してください。 ```js (getUserInput) => { @@ -193,7 +193,7 @@ async (getUserInput) => { }; ``` -All 10 functional tests required are complete and passing. +10 件の機能テストがすべて記述され、成功する状態になっています。 ```js async (getUserInput) => { diff --git a/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/sudoku-solver.md b/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/sudoku-solver.md index 00cd26e05fe..1dcfcafcc72 100644 --- a/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/sudoku-solver.md +++ b/curriculum/challenges/japanese/06-quality-assurance/quality-assurance-projects/sudoku-solver.md @@ -14,13 +14,13 @@ dashedName: sudoku-solver - Replit スタータープロジェクトを使用して、プロジェクトを完了させる。 - 使い慣れたサイトビルダーを使用してプロジェクトを完了させる。 必ず GitHub リポジトリのすべてのファイルを取り込む。 -If you use Replit, follow these steps to set up the project: +Replit を使用する場合は、下記の手順でプロジェクトをセットアップしてください。 -- Start by importing the project on Replit. -- Next, you will see a `.replit` window. -- Select `Use run command` and click the `Done` button. +- まず、Replit でプロジェクトをインポートします。 +- すると、`.replit` ファイルのウィンドウが表示されます。 +- `Use run command` を選択して `Done` ボタンをクリックします。 -When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the Solution Link field. Optionally, also submit a link to your project's source code in the GitHub Link field. +完了したら、プロジェクトの動作デモをどこか公開の場にホストしてください。 そして「回答のリンク」欄に、デモの URL を提出してください。 必要に応じて、プロジェクトのソースコードへのリンクも「GitHub のリンク」欄に提出してください。 # --instructions-- @@ -31,9 +31,9 @@ When you are done, make sure a working demo of your project is hosted somewhere - All routing logic can go into `/routes/api.js` - See the `puzzle-strings.js` file in `/controllers` for some sample puzzles your application should solve - To run the challenge tests on this page, set `NODE_ENV` to `test` without quotes in the `.env` file -- To run the tests in the console, use the command `npm run test`. To open the Replit console, press Ctrl+Shift+P (Cmd if on a Mac) and type "open shell" +- コンソールでテストを実行するには、コマンド `npm run test` を使用してください。 Replit コンソールを開くには、Ctrl+Shift+P (Macの場合はCmd) を押して「open shell」と入力してください。 -Write the following tests in `tests/1_unit-tests.js`: +`tests/1_unit-tests.js` に以下のテストを記述してください。 - Logic handles a valid puzzle string of 81 characters - Logic handles a puzzle string with invalid characters (not 1-9 or `.`) @@ -352,7 +352,7 @@ async (getUserInput) => { }; ``` -All 12 unit tests are complete and passing. See `/tests/1_unit-tests.js` for the expected behavior you should write tests for. +12 件のユニットテストがすべて記述され、成功する状態になっています。 テストを記述すべき期待動作については、`/tests/1_unit-tests.js` を参照してください。 ```js async (getUserInput) => { @@ -377,7 +377,7 @@ async (getUserInput) => { }; ``` -All 14 functional tests are complete and passing. See `/tests/2_functional-tests.js` for the expected functionality you should write tests for. +14 件の機能テストがすべて記述され、成功する状態になっています。 テストを記述すべき期待される機能については、`/tests/2_functional-tests.js` を参照してください。 ```js async (getUserInput) => { diff --git a/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md b/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md index 2918a0532f2..62f73f55c62 100644 --- a/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md +++ b/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md @@ -16,13 +16,13 @@ dashedName: apply-functional-programming-to-convert-strings-to-url-slugs # --instructions-- -Заповніть функцію `urlSlug`, щоб вона конвертувала рядок `title` і повертала версію з дефісом для URL. Ви можете використати будь-який з методів, використаних у цьому розділі, і не використовуйте `replace`. Ось вимоги: +Заповніть функцію `urlSlug` так, щоб вона конвертувала рядок `title` та повертала URL, написану через дефіси. Ви можете використати будь-який з методів, описаних у цьому розділі, але не використовуйте `replace`. Ось вимоги: -Вхідний - це рядок з пробілами і текстовими словами +Вхідними даними є рядок зі словами з великої літери, розділеними пробілом -Вихідний рядок з пробілами між словами, заміненим на дефіс (`-`) +Вихідними даними є рядок зі словами, де пробіли замінено на дефіс (`-`) -Вихідний рядок повинен бути весь малими літерами +Вихідні дані повинні бути у нижньому регістрі Вихідний рядок не повинен мати жодних пробілів diff --git a/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/functional-programming/avoid-mutations-and-side-effects-using-functional-programming.md b/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/functional-programming/avoid-mutations-and-side-effects-using-functional-programming.md index b3a56ca83e4..d2df4311593 100644 --- a/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/functional-programming/avoid-mutations-and-side-effects-using-functional-programming.md +++ b/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/functional-programming/avoid-mutations-and-side-effects-using-functional-programming.md @@ -1,6 +1,6 @@ --- id: 587d7b8e367417b2b2512b5e -title: Уникайте будь-яких змін та побічних ефектів, використовуючи функціональне програмування +title: Уникнення мутацій та побічних ефектів завдяки функційному програмуванню challengeType: 1 forumTopicId: 301228 dashedName: avoid-mutations-and-side-effects-using-functional-programming @@ -8,7 +8,7 @@ dashedName: avoid-mutations-and-side-effects-using-functional-programming # --description-- -Якщо ви ще цього не зрозуміли, проблема в попередньому завданні була з `splice` у функції `Close()`. На жаль, `splice` змінює вихідний масив, в якому він викликається, тому другий дзвінок використовував модифікований масив і дав несподівані результати. +Якщо ви ще цього не зрозуміли, проблема в попередньому завданні полягала у виклику `splice` у функції `tabClose()`. На жаль, `splice` змінює вихідний масив, в якому він викликається, тому другий дзвінок використовував модифікований масив і дав несподівані результати. Це невеликий приклад набагато більшого шаблону - викликається функція змінної, масиву або об'єкта, а функція змінює саме змінну чи щось інше в об’єкті. diff --git a/curriculum/challenges/ukrainian/05-back-end-development-and-apis/basic-node-and-express/serve-json-on-a-specific-route.md b/curriculum/challenges/ukrainian/05-back-end-development-and-apis/basic-node-and-express/serve-json-on-a-specific-route.md index be4babc809d..2791be713e3 100644 --- a/curriculum/challenges/ukrainian/05-back-end-development-and-apis/basic-node-and-express/serve-json-on-a-specific-route.md +++ b/curriculum/challenges/ukrainian/05-back-end-development-and-apis/basic-node-and-express/serve-json-on-a-specific-route.md @@ -18,7 +18,7 @@ dashedName: serve-json-on-a-specific-route # --hints-- -The endpoint `/json` should serve the JSON object `{"message": "Hello json"}` +Кінцева точка `/json` повинна обслуговувати об'єкт JSON `{"message": "Hello json"}` ```js (getUserInput) =>