Files
freeCodeCamp/curriculum/challenges/arabic/01-responsive-web-design/basic-html-and-html5/uncomment-html.arabic.md

69 lines
2.2 KiB
Markdown
Raw Normal View History

---
id: bad87fee1348bd9aedf08802
title: Uncomment HTML
challengeType: 0
videoUrl: ''
localeTitle: إلغاء التعليقات في HTML
---
## الوصف
<section id='description'>
التعليق طريقة لترك تعليقات للمطورين الاخرين في الكود دون التأثير على المخرجات التي تعرض للمستخدم النهائي.
ايضا، هو طريقة مناسبة لجعل الكود غير نشط (اي لا ينفذ) دون حذفه بالكامل.
التعليقات في الـ HTML تبدأ بالوسم <code>&#60;!--</code> وتنتهي بالوسم <code>--&#62;</code>.
</section>
## التعليمات
<section id="instructions"> الغي التعليقات من هذه العناصر <code>h1</code> و <code>h2</code> و <code>p</code>.
</section>
## الاختبارات
<section id='tests'>
```yml
tests:
- text: اجعل العنصر <code>h1</code> مرئيًا على صفحتك من خلال إلغاء التعليق.
testString: 'assert($("h1").length > 0, "Make your <code>h1</code> element visible on your page by uncommenting it.");'
- text: اجعل العنصر <code>h2</code> مرئيًا على صفحتك من خلال إلغاء التعليق.
testString: 'assert($("h2").length > 0, "Make your <code>h2</code> element visible on your page by uncommenting it.");'
- text: اجعل العنصر <code>p</code> مرئيًا على صفحتك من خلال إلغاء التعليق.
testString: 'assert($("p").length > 0, "Make your <code>p</code> element visible on your page by uncommenting it.");'
- text: تأكد من حذف جميع وُسُوم نهاية التعليق مثل <code>--&gt;</code> .
testString: 'assert(!/[^fc]-->/gi.test(code.replace(/ *<!--[^fc]*\n/g,"")), "Be sure to delete all trailing comment tags&#44; i.e. <code>--&#62;</code>.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='html-seed'>
```html
<!--
<h1>Hello World</h1>
<h2>CatPhotoApp</h2>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
-->
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>