fix: remove repl.it links arabic challenge articles (#36209)
This commit is contained in:
@ -84,7 +84,6 @@ Deem كتابة دالة مساعد تقوم بإرجاع الفرق المتم
|
||||
}
|
||||
`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)
|
||||
|
||||
[](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce) [تشغيل الكود](https://repl.it/C4II/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -138,7 +137,6 @@ Deem كتابة دالة مساعد تقوم بإرجاع الفرق المتم
|
||||
sym([1, 2, 3], [5, 2, 1, 4]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLoc/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -172,7 +170,6 @@ Deem كتابة دالة مساعد تقوم بإرجاع الفرق المتم
|
||||
sym([1, 2, 3], [5, 2, 1, 4]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/@ashenm/Symmetric-Difference)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -37,7 +37,6 @@ localeTitle: تنفيذ فرز الفقاعة
|
||||
|
||||
`js function bubbleSort(array) { for (let i = 0; i < array.length; i++){ for (let j = 0; j < array.length-1-i; j++){ if (array[j] > array[j+1]) [array[j], array[j+1]] = [array[j+1], array[j]]; // Using ES6 array destructuring to swap } } return array; }`
|
||||
|
||||
* [تشغيل الكود](https://repl.it/@ezioda004/Bubble-Sort)
|
||||
|
||||
### المراجع:
|
||||
|
||||
|
@ -31,7 +31,6 @@ localeTitle: تنفيذ فرز الإدراج
|
||||
}
|
||||
`
|
||||
|
||||
* [تشغيل الكود](https://repl.it/@ezioda004/Insertion-Sort)
|
||||
|
||||
### المراجع:
|
||||
|
||||
|
@ -47,7 +47,6 @@ localeTitle: تنفيذ فرز دمج
|
||||
}
|
||||
`
|
||||
|
||||
* [تشغيل الكود](https://repl.it/@ezioda004/Merge-Sort)
|
||||
|
||||
### المراجع:
|
||||
|
||||
|
@ -47,7 +47,6 @@ localeTitle: تنفيذ فرز سريع
|
||||
}
|
||||
`
|
||||
|
||||
* [تشغيل الكود](https://repl.it/@ezioda004/Quick-Sort)
|
||||
|
||||
### مرجع:
|
||||
|
||||
|
@ -105,7 +105,6 @@ localeTitle: تحديث المخزون
|
||||
updateInventory(curInv, newInv);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLok/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -190,7 +189,6 @@ localeTitle: تحديث المخزون
|
||||
updateInventory(curInv, newInv);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLol/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -265,7 +263,6 @@ localeTitle: تحديث المخزون
|
||||
updateInventory(curInv, newInv);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/MQvv/latest)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -145,7 +145,6 @@ localeTitle: لا يتكرر من فضلك
|
||||
permAlone('aab');
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLop/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -23,7 +23,6 @@ localeTitle: مضاعفات 3 و 5
|
||||
}
|
||||
`
|
||||
|
||||
* [تشغيل الكود](https://repl.it/@ezioda004/Project-Euler-Problem-1-Multiples-of-3-and-5)
|
||||
|
||||
### مرجع:
|
||||
|
||||
|
@ -54,7 +54,6 @@ localeTitle: حتى أرقام فيبوناتشي
|
||||
}
|
||||
`
|
||||
|
||||
* [تشغيل الكود](https://repl.it/@ezioda004/Project-Euler-Problem-2-Even-Fibonacci-Numbers)
|
||||
|
||||
### المراجع:
|
||||
|
||||
|
@ -25,7 +25,6 @@ localeTitle: أكبر عامل رئيسي
|
||||
}
|
||||
`
|
||||
|
||||
* [تشغيل الكود](https://repl.it/@ezioda004/Problem-3-Largest-prime-factor)
|
||||
|
||||
### مصادر:
|
||||
|
||||
|
@ -49,7 +49,6 @@ localeTitle: أكبر منتج متناظر
|
||||
}
|
||||
`
|
||||
|
||||
* [تشغيل الكود](https://repl.it/@ezioda004/Problem-4-Largest-palindrome-product)
|
||||
|
||||
### المراجع:
|
||||
|
||||
|
@ -36,7 +36,6 @@ localeTitle: أصغر متعددة
|
||||
}
|
||||
`
|
||||
|
||||
* [تشغيل الكود](https://repl.it/@ezioda004/Problem-5-Smallest-multiple)
|
||||
|
||||
### المراجع:
|
||||
|
||||
|
@ -28,7 +28,6 @@ localeTitle: اختلاف مربع الفراغ
|
||||
}
|
||||
``
|
||||
|
||||
* [تشغيل الكود](https://repl.it/@ezioda004/Problem-6-Sum-square-difference)
|
||||
|
||||
### المراجع:
|
||||
|
||||
|
@ -48,7 +48,6 @@ localeTitle: 10001st
|
||||
}
|
||||
`
|
||||
|
||||
\- [تشغيل الكود](https://repl.it/@ezioda004/Project-Euler-Problem-7-10001st-prime)
|
||||
|
||||
### المراجع:
|
||||
|
||||
|
@ -48,7 +48,6 @@ localeTitle: بو من
|
||||
booWho(null);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnK/0)
|
||||
|
||||
# شرح الشفرة:
|
||||
|
||||
|
@ -70,7 +70,6 @@ localeTitle: قرد مكتنز
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/24)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -98,7 +97,6 @@ localeTitle: قرد مكتنز
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/Cj9x/3)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -130,7 +128,6 @@ localeTitle: قرد مكتنز
|
||||
chunkArrayInGroups(["a", "b", "c", "d"], 2);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/26)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -164,7 +161,6 @@ localeTitle: قرد مكتنز
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/579)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -192,7 +188,6 @@ localeTitle: قرد مكتنز
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/579)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -18,7 +18,6 @@ localeTitle: تأكيد الانتهاء
|
||||
confirmEnding("He has to give me a new name", "name");
|
||||
`
|
||||
|
||||
#### 🚀 [تشغيل الكود](https://repl.it/repls/SardonicRoundAfkgaming)
|
||||
|
||||
# شرح الشفرة:
|
||||
|
||||
|
@ -93,7 +93,6 @@ localeTitle: Factorialize عدد
|
||||
factorialize(5);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/1)
|
||||
|
||||
## شرح الشفرة:
|
||||
|
||||
|
@ -45,7 +45,6 @@ Falsy هو شيء يتم تقييمه لـ FALSE. لا يوجد سوى ستة ق
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/32)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -52,7 +52,6 @@ localeTitle: ابحث عن أطول كلمة في سلسلة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/5)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -76,7 +75,6 @@ localeTitle: ابحث عن أطول كلمة في سلسلة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/6)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -122,7 +120,6 @@ localeTitle: ابحث عن أطول كلمة في سلسلة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/7)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -51,7 +51,6 @@ localeTitle: الطفرات
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/30)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -79,7 +78,6 @@ localeTitle: الطفرات
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/31)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -50,7 +50,6 @@ localeTitle: كرر سلسلة يكرر سلسلة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/19)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -76,7 +75,6 @@ localeTitle: كرر سلسلة يكرر سلسلة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/21)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -98,7 +96,6 @@ localeTitle: كرر سلسلة يكرر سلسلة
|
||||
repeatStringNumTimes("abc", 3);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/85)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -53,7 +53,6 @@ localeTitle: أكبر عدد من المصفوفات في المصفوفة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/734)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -82,7 +81,6 @@ localeTitle: أكبر عدد من المصفوفات في المصفوفة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/733)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -106,7 +104,6 @@ localeTitle: أكبر عدد من المصفوفات في المصفوفة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/17)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -45,7 +45,6 @@ localeTitle: عكس سلسلة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -52,7 +52,6 @@ localeTitle: شريحة و لصق
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -58,7 +58,6 @@ localeTitle: العنوان حالة الجملة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/8)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -86,7 +85,6 @@ localeTitle: العنوان حالة الجملة
|
||||
titleCase("I'm a little tea pot");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/9)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -103,7 +101,6 @@ localeTitle: العنوان حالة الجملة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/14)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -51,7 +51,6 @@ localeTitle: اقتطاع سلسلة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/55)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -71,7 +70,6 @@ localeTitle: اقتطاع سلسلة
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/54)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -52,7 +52,6 @@ localeTitle: إلى أين أنتمي
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/36)
|
||||
|
||||
## شرح الشفرة:
|
||||
|
||||
@ -77,7 +76,6 @@ localeTitle: إلى أين أنتمي
|
||||
getIndexToIns([40, 60], 50);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/2547)
|
||||
|
||||
## شرح الشفرة:
|
||||
|
||||
@ -106,7 +104,6 @@ localeTitle: إلى أين أنتمي
|
||||
getIndexToIns([40, 60], 50);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/4135)
|
||||
|
||||
## شرح الشفرة:
|
||||
|
||||
@ -125,7 +122,6 @@ localeTitle: إلى أين أنتمي
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/EB10/1)
|
||||
|
||||
## شرح الشفرة:
|
||||
|
||||
@ -154,7 +150,6 @@ localeTitle: إلى أين أنتمي
|
||||
getIndexToIns([40, 60], 500);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/63)
|
||||
|
||||
## شرح الشفرة:
|
||||
|
||||
@ -181,7 +176,6 @@ localeTitle: إلى أين أنتمي
|
||||
getIndexToIns([1,3,4],2);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/IUJE/0)
|
||||
|
||||
## شرح الشفرة:
|
||||
|
||||
|
@ -51,7 +51,6 @@ _`num < 5` - عودة "صغيرة" `num < 10` - عودة "صغير" `num < 15` -
|
||||
}
|
||||
`
|
||||
|
||||
تشغيل الكود في [repl.it](https://repl.it/@AdrianSkar/Basic-JS-Chaining-ifelse-statements)
|
||||
|
||||
### تفسير الشفرة
|
||||
|
||||
|
@ -30,7 +30,6 @@ _أضف عامل المساواة إلى الخط المحدد بحيث تقوم
|
||||
testEqual(10);
|
||||
`
|
||||
|
||||
[تشغيل الكود في repl.it](https://repl.it/@AdrianSkar/Basic-JS-Equality-operator)
|
||||
|
||||
### تفسير الشفرة
|
||||
|
||||
|
@ -41,7 +41,6 @@ localeTitle: مقارنات مع عامل التشغيل && (المنطقية AN
|
||||
testLogicalAnd(10);
|
||||
`
|
||||
|
||||
[تشغيل الكود في repl.it](https://repl.it/@AdrianSkar/Basic-JS-Comparison-with-the-and-operator)
|
||||
|
||||
### تفسير الشفرة
|
||||
|
||||
|
@ -118,7 +118,6 @@ localeTitle: عد بطاقات
|
||||
}
|
||||
`
|
||||
|
||||
تشغيل الكود في [repl.it.](https://repl.it/@AdrianSkar/Basic-JS-Counting-cards)
|
||||
|
||||
### تفسير الشفرة
|
||||
|
||||
|
@ -111,7 +111,6 @@ par + 2 | "بوجيه مزدوج" > = par + 3 | "اذهب للمنزل!"
|
||||
golfScore(5, 4);
|
||||
`
|
||||
|
||||
· تشغيل في [repl.it](https://repl.it/@AdrianSkar/Basic-JS-Golf-code)
|
||||
|
||||
\## شرح الكود نظرًا لأن لدينا بالفعل صفيفًا محددًا في `names` المتغيرات ، فيمكننا الاستفادة منه واستخدامه في عبارات الإرجاع باستخدام الفهارس (على سبيل المثال: `names[0] is the first one` ). بهذه الطريقة ، إذا احتجت في أي وقت إلى تغيير نتيجة معينة فلن تحتاج إلى البحث عنها داخل الوظيفة ، فستكون في البداية ، في الصفيف الخاص بك.
|
||||
|
||||
|
@ -54,7 +54,7 @@ localeTitle: إدخال آخر إذا البيانات
|
||||
testElseIf(7);
|
||||
`
|
||||
|
||||
: صاروخ: [تشغيل الكود](https://repl.it/@RyanPisuena/GoldenWorriedRuntime) ## شرح الكود بنية **آخر، إذا تدفق المنطق** هو أولي `if` البيان، أكثر واحد `if-else` التصريحات، ونهائي واحد `else` بيان.
|
||||
## شرح الكود بنية **آخر، إذا تدفق المنطق** هو أولي `if` البيان، أكثر واحد `if-else` التصريحات، ونهائي واحد `else` بيان.
|
||||
|
||||
### مصادر
|
||||
|
||||
|
@ -46,7 +46,6 @@ localeTitle: إدخال بيانات أخرى
|
||||
testElse(4);
|
||||
`
|
||||
|
||||
[تشغيل الكود في repl.it](https://repl.it/@AdrianSkar/Introducing-else-statements)
|
||||
|
||||
### تفسير الشفرة
|
||||
|
||||
|
@ -82,7 +82,6 @@ _ملحوظة: ستحتاج إلى بيان حالة لكل رقم في النط
|
||||
sequentialSizes(1);
|
||||
`
|
||||
|
||||
تشغيل الكود في [repl.it.](https://repl.it/@AdrianSkar/Basic-JS-Multiple-opts-in-switch)
|
||||
|
||||
### تفسير الشفرة
|
||||
|
||||
|
@ -72,7 +72,6 @@ localeTitle: جمع السجلات
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/C2AZ/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -44,7 +44,6 @@ _فيكس وظيفة هو `isLess` من إزالة العبارة `if...else` ._
|
||||
isLess(10, 15);
|
||||
`
|
||||
|
||||
تشغيل الكود في [repl.it.](https://repl.it/@AdrianSkar/Basic-Js-Returning-boolean-from-function)
|
||||
|
||||
### مصادر
|
||||
|
||||
|
@ -113,7 +113,6 @@ _اكتب عبارة التبديل التي تختبر `val` `answer` عن ال
|
||||
caseInSwitch(1);
|
||||
`
|
||||
|
||||
تشغيل الكود في [repl.it.](https://repl.it/@AdrianSkar/Basic-JS-Switch-statements)
|
||||
|
||||
### تفسير الشفرة
|
||||
|
||||
|
@ -63,7 +63,6 @@ localeTitle: استخدام كائنات لعمليات البحث
|
||||
|
||||
جافا سكريبت result = lookup \[val\]؛ \`\` \`
|
||||
|
||||
تشغيل الكود في [repl.it.](https://repl.it/@AdrianSkar/Using-objects-for-lookups)
|
||||
|
||||
### مصادر
|
||||
|
||||
|
@ -50,7 +50,6 @@ localeTitle: تعيين المعلمات الافتراضية لوظائفك
|
||||
console.log(increment(5)); // returns NaN
|
||||
`
|
||||
|
||||
: صاروخ: [تشغيل التعليمات البرمجية](https://repl.it/@RyanPisuena/PleasingFumblingThings)
|
||||
|
||||
## شرح الشفرة
|
||||
|
||||
|
@ -94,7 +94,6 @@ localeTitle: الحجج اختياري
|
||||
addTogether(2,3);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnz/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -152,7 +151,6 @@ localeTitle: الحجج اختياري
|
||||
addTogether(2,3);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLoA/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -186,7 +184,6 @@ localeTitle: الحجج اختياري
|
||||
addTogether(2,3);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLoB/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -60,7 +60,6 @@ localeTitle: الوكلاء الثنائيين
|
||||
binaryAgent("01000001 01110010 01100101 01101110 00100111 01110100 00100000 01100010 01101111 01101110 01100110 01101001 01110010 01100101 01110011 00100000 01100110 01110101 01101110 00100001 00111111");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnm/0)
|
||||
|
||||
# شرح الشفرة:
|
||||
|
||||
@ -112,7 +111,6 @@ localeTitle: الوكلاء الثنائيين
|
||||
binaryAgent("01000001 01110010 01100101 01101110 00100111 01110100 00100000 01100010 01101111 01101110 01100110 01101001 01110010 01100101 01110011 00100000 01100110 01110101 01101110 00100001 00111111");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLno/0)
|
||||
|
||||
# شرح الشفرة
|
||||
|
||||
@ -138,7 +136,6 @@ localeTitle: الوكلاء الثنائيين
|
||||
binaryAgent("01000001 01110010 01100101 01101110 00100111 01110100 00100000 01100010 01101111 01101110 01100110 01101001 01110010 01100101 01110011 00100000 01100110 01110101 01101110 00100001 00111111");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnp/0)
|
||||
|
||||
# شرح الشفرة
|
||||
|
||||
|
@ -81,7 +81,6 @@ localeTitle: تحويل كيانات HTML
|
||||
* [arr.join ()](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/join)
|
||||
* [بيان التبديل](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Statements/switch)
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnP/0)
|
||||
|
||||
##  حل الشفرة المتوسطة:
|
||||
|
||||
@ -95,7 +94,6 @@ localeTitle: تحويل كيانات HTML
|
||||
convertHTML("Dolce & Gabbana");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnQ/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -125,7 +123,6 @@ localeTitle: تحويل كيانات HTML
|
||||
convertHTML("Dolce & Gabbana");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnR/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -65,7 +65,6 @@ localeTitle: الفرق صفيفتين
|
||||
diffArray([1, 2, 3, 5], [1, 2, 3, 4, 5]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLme/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -88,7 +87,6 @@ localeTitle: الفرق صفيفتين
|
||||
diffArray([1, 2, 3, 5], [1, 2, 3, 4, 5]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CNYb/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -113,7 +111,6 @@ localeTitle: الفرق صفيفتين
|
||||
diffArray([1, 2, 3, 5], [1, 2, 3, 4, 5]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CNYU/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -84,7 +84,6 @@ localeTitle: دنا الاقتران
|
||||
pairElement("GCG");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLmz/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -116,7 +115,6 @@ localeTitle: دنا الاقتران
|
||||
pairElement("GCG");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/repls/ThoroughSphericalComputeranimation)
|
||||
|
||||
## شرح الشفرة:
|
||||
|
||||
|
@ -59,7 +59,6 @@ localeTitle: أسقطها
|
||||
dropElements([1, 2, 3, 4], function(n) {return n >= 3;})
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLna/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -82,7 +81,6 @@ localeTitle: أسقطها
|
||||
dropElements([1, 2, 3, 4], function(n) {return n >= 3;});
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnc/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -108,7 +106,6 @@ localeTitle: أسقطها
|
||||
dropElements([1, 2, 3, 4], function(n) {return n >= 3;});
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnf/0)
|
||||
|
||||
### شرح الشفرة
|
||||
|
||||
|
@ -61,7 +61,6 @@ localeTitle: كل شيء يكون حقيقة
|
||||
truthCheck([{"user": "Tinky-Winky", "sex": "male"}, {"user": "Dipsy", "sex": "male"}, {"user": "Laa-Laa", "sex": "female"}, {"user": "Po", "sex": "female"}], "sex");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnw/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -88,7 +87,6 @@ localeTitle: كل شيء يكون حقيقة
|
||||
truthCheck([{"user": "Tinky-Winky", "sex": "male"}, {"user": "Dipsy", "sex": "male"}, {"user": "Laa-Laa", "sex": "female"}, {"user": "Po", "sex": "female"}], "sex");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLny/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -110,7 +108,6 @@ localeTitle: كل شيء يكون حقيقة
|
||||
truthCheck([{"user": "Tinky-Winky", "sex": "male"}, {"user": "Dipsy", "sex": "male"}, {"user": "Laa-Laa", "sex": "female"}, {"user": "Po", "sex": "female"}], "sex");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/E2u6/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -88,7 +88,6 @@ localeTitle: اصنع شخصا
|
||||
bob.getFullName();
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLov/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -70,7 +70,6 @@ localeTitle: رسم خريطة الحطام
|
||||
orbitalPeriod([{name : "sputnik", avgAlt : 35873.5553}]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLow/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -112,7 +111,6 @@ localeTitle: رسم خريطة الحطام
|
||||
orbitalPeriod([{name : "sputnik", avgAlt : 35873.5553}]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLoy/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -143,7 +141,6 @@ localeTitle: رسم خريطة الحطام
|
||||
orbitalPeriod([{name : "sputnik", avgAlt : 35873.5553}]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLoz/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -61,7 +61,6 @@ localeTitle: حروف ناقصة
|
||||
fearNotLetter("abce");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnD/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -99,7 +98,6 @@ localeTitle: حروف ناقصة
|
||||
fearNotLetter("abce");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnE/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -148,7 +146,6 @@ localeTitle: حروف ناقصة
|
||||
fearNotLetter("abce");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnG/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -68,7 +68,6 @@ localeTitle: خنزير اللاتينية
|
||||
translatePigLatin("consonant");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLmt/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -102,7 +101,6 @@ localeTitle: خنزير اللاتينية
|
||||
translatePigLatin("consonant");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLmw/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -148,7 +146,6 @@ localeTitle: خنزير اللاتينية
|
||||
translatePigLatin("consonant");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLmv/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -57,7 +57,6 @@ localeTitle: بحث واستبدال
|
||||
myReplace("A quick brown fox jumped over the lazy dog", "jumped", "leaped");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLmo/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -93,7 +92,6 @@ localeTitle: بحث واستبدال
|
||||
myReplace("A quick brown fox jumped over the lazy dog", "jumped", "leaped");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLmp/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -139,7 +137,6 @@ localeTitle: بحث واستبدال
|
||||
myReplace("A quick brown fox jumped over the lazy dog", "jumped", "leaped");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLmq/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -199,7 +196,6 @@ localeTitle: بحث واستبدال
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/@kr3at0/SearchAndReplace)
|
||||
|
||||
##  حل رمز متقدم البديل 2:
|
||||
|
||||
|
@ -53,7 +53,6 @@ localeTitle: تسعى وتدمر
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/95)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -85,7 +84,6 @@ localeTitle: تسعى وتدمر
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/Ck2m/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -82,7 +82,6 @@ localeTitle: أصغر مشترك متعددة
|
||||
smallestCommons([1,5]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLn2/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -139,7 +138,6 @@ localeTitle: أصغر مشترك متعددة
|
||||
smallestCommons([1,5]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLn4/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -199,7 +197,6 @@ localeTitle: أصغر مشترك متعددة
|
||||
smallestCommons([1,5]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/MR9P/latest)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -65,7 +65,6 @@ localeTitle: الاتحاد الفرز
|
||||
uniteUnique([1, 3, 2], [5, 2, 1, 4], [2, 1]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnM/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -121,7 +120,6 @@ localeTitle: الاتحاد الفرز
|
||||
uniteUnique([1, 3, 2], [5, 2, 1, 4], [2, 1]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnO/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -154,7 +152,6 @@ localeTitle: الاتحاد الفرز
|
||||
uniteUnique([1, 3, 2], [5, 2, 1, 4], [2, 1]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnN/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -184,7 +181,6 @@ localeTitle: الاتحاد الفرز
|
||||
uniteUnique([1, 3, 2], [5, 2, 1, 4], [2, 1]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CcWk/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -56,7 +56,6 @@ localeTitle: حنفية شبكية
|
||||
spinalCase('This Is Spinal Tap');
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnS/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -77,7 +76,6 @@ localeTitle: حنفية شبكية
|
||||
spinalCase('This Is Spinal Tap');
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnT/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -99,7 +97,6 @@ localeTitle: حنفية شبكية
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/EUZV)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -62,7 +62,6 @@ localeTitle: أجاز
|
||||
steamrollArray([1, [2], [3, [[4]]]]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnh/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -87,7 +86,6 @@ localeTitle: أجاز
|
||||
flattenArray([1, [2], [3, [[4]]]]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLni/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -121,7 +119,6 @@ localeTitle: أجاز
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CpDy/4)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -47,7 +47,6 @@ localeTitle: مجموع كل الأرقام في المدى
|
||||
sumAll([1, 4]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLm6/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -79,7 +78,6 @@ localeTitle: مجموع كل الأرقام في المدى
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLm7/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -109,7 +107,6 @@ localeTitle: مجموع كل الأرقام في المدى
|
||||
sumAll([1, 4]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLm8/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -58,7 +58,6 @@ localeTitle: Sum All Odd Fibonacci Numbers
|
||||
sumFibs(4);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnV/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -100,7 +99,6 @@ localeTitle: Sum All Odd Fibonacci Numbers
|
||||
sumFibs(4);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/repls/ImpassionedFineConnection)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -73,7 +73,6 @@ localeTitle: مجموع كل الأعداد
|
||||
sumPrimes(10);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLnZ/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -122,7 +121,6 @@ localeTitle: مجموع كل الأعداد
|
||||
sumPrimes(10);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLn0/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -157,7 +155,6 @@ localeTitle: مجموع كل الأعداد
|
||||
sumPrimes(977);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/DoOo/3)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -61,7 +61,6 @@ localeTitle: ولهذا السبب انت الفن
|
||||
whatIsInAName([{ first: "Romeo", last: "Montague" }, { first: "Mercutio", last: null }, { first: "Tybalt", last: "Capulet" }], { last: "Capulet" });
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLmh/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -95,7 +94,6 @@ localeTitle: ولهذا السبب انت الفن
|
||||
whatIsInAName([{ first: "Romeo", last: "Montague" }, { first: "Mercutio", last: null }, { first: "Tybalt", last: "Capulet" }], { last: "Capulet" });
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLmi/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -133,7 +131,6 @@ localeTitle: ولهذا السبب انت الفن
|
||||
whatIsInAName([{ first: "Romeo", last: "Montague" }, { first: "Mercutio", last: null }, { first: "Tybalt", last: "Capulet" }], { last: "Capulet" });
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLmj/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -62,7 +62,6 @@ localeTitle: قيصر تشفير
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/38)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -150,7 +149,6 @@ localeTitle: قيصر تشفير
|
||||
* [رجإكس](https://forum.freecodecamp.com/t/regular-expressions-resources/15931)
|
||||
* [Regex.test](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test)
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/39)
|
||||
|
||||
##  الحل المتقدم للكود:
|
||||
|
||||
|
@ -112,7 +112,6 @@ localeTitle: ماكينة تسجيل المدفوعات النقدية
|
||||
checkCashRegister(19.50, 20.00, [["PENNY", 1.01], ["NICKEL", 2.05], ["DIME", 3.10], ["QUARTER", 4.25], ["ONE", 90.00], ["FIVE", 55.00], ["TEN", 20.00], ["TWENTY", 60.00], ["ONE HUNDRED", 100.00]]);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/@scissorsneedfoo/cash-register-example)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -51,7 +51,6 @@ localeTitle: Palindrome المدقق
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/2)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -83,7 +82,6 @@ localeTitle: Palindrome المدقق
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/3)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -131,7 +129,6 @@ localeTitle: Palindrome المدقق
|
||||
}
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLjU/4)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -62,7 +62,6 @@ localeTitle: تحويل الأرقام الرومانية
|
||||
convertToRoman(36);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLmf/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -128,7 +127,6 @@ localeTitle: تحويل الأرقام الرومانية
|
||||
convertToRoman(97);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/C1YV)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -185,7 +183,6 @@ localeTitle: تحويل الأرقام الرومانية
|
||||
convertToRoman(36);
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/C1YV)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
@ -47,7 +47,6 @@ localeTitle: مدقق رقم الهاتف
|
||||
telephoneCheck("555-555-5555");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLo9/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
@ -75,7 +74,6 @@ localeTitle: مدقق رقم الهاتف
|
||||
telephoneCheck("555-555-5555");
|
||||
`
|
||||
|
||||
 [تشغيل الكود](https://repl.it/CLoa/0)
|
||||
|
||||
### شرح الشفرة:
|
||||
|
||||
|
Reference in New Issue
Block a user