* Improving Arabic translation Improving Arabic translation in say-hello-to-html-elements.arabic.md file * Translating Description and Improving Arabic Translation. Translated the Description from the English version. Also Improving the Arabic translation. * Fixing a mistake in translating the tests. * Fixing a mistake I made while translating the tests in headline-with-the-h2-element.arabic.md * Improving the Arabic translation and fixing grammar. * adding space to (I'm a p tag) in line 10 * fixing bad indentation. * fixing bad indentation (mistake by me) * fixing bad indentation (mistake by me) * Add missing Description and Test text Adding missing description text and Test text from English version. Also general improvements to the Translation. * Adding missing description text and Test text Adding missing description text and Test text in in uncomment-html.arabic.md from English version. Also general improvements to the Translation. * Improving the Arabic translation * Minor updates to the translation * Overall Enhancement to the translation. * General translation improvement Improving the translation on the Description, Instructions and the Tests. Separate text to different lines for better readability. * Improving "Link to External Pages with Anchor Elements" Arabic Translation. * Matching characters and entities to the English version.
69 lines
2.2 KiB
Markdown
69 lines
2.2 KiB
Markdown
---
|
|
id: bad87fee1348bd9aedf08802
|
|
title: Uncomment HTML
|
|
challengeType: 0
|
|
videoUrl: ''
|
|
localeTitle: إلغاء التعليقات في HTML
|
|
---
|
|
|
|
## الوصف
|
|
<section id='description'>
|
|
التعليق طريقة لترك تعليقات للمطورين الاخرين في الكود دون التأثير على المخرجات التي تعرض للمستخدم النهائي.
|
|
ايضا، هو طريقة مناسبة لجعل الكود غير نشط (اي لا ينفذ) دون حذفه بالكامل.
|
|
التعليقات في الـ HTML تبدأ بالوسم <code><!--</code> وتنتهي بالوسم <code>--></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>--></code> .
|
|
testString: 'assert(!/[^fc]-->/gi.test(code.replace(/ *<!--[^fc]*\n/g,"")), "Be sure to delete all trailing comment tags, i.e. <code>--></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>
|