<!--
وإنهاء تعليق ، تحتاج إلى استخدام -->
هنا سوف تحتاج إلى إنهاء التعليق قبل بدء عنصر h2
الخاص بك. h1
والعنصر p
، ولكن ليس عنصر h2
الخاص بك. h1
بحيث لا يكون مرئيًا على صفحتك.
testString: 'assert(($("h1").length === 0), "Comment out your h1
element so that it is not visible on your page.");'
- text: اترك عنصر h2
مُعالج بحيث يكون مرئيًا على صفحتك.
testString: 'assert(($("h2").length > 0), "Leave your h2
element uncommented so that it is visible on your page.");'
- text: قم بالتعليق على عنصر p
الخاص بك بحيث لا يكون مرئيًا على صفحتك.
testString: 'assert(($("p").length === 0), "Comment out your p
element so that it is not visible on your page.");'
- text: تأكد من إغلاق كل تعليقاتك باستخدام -->
.
testString: 'assert(code.match(/[^fc]-->/g).length > 1, "Be sure to close each of your comments with -->
.");'
- text: لا تقم بتغيير ترتيب h1
h2
أو p
في التعليمة البرمجية.
testString: 'assert((code.match(/<([a-z0-9]){1,2}>/g)[0]==="") , "Do not change the order of the h1
h2
or p
in the code.");'
```