* 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.
2.4 KiB
2.4 KiB
id, title, challengeType, videoUrl, localeTitle
| id | title | challengeType | videoUrl | localeTitle |
|---|---|---|---|---|
| bad87fee1348bd9aedf0887a | Headline with the h2 Element | 0 | إنشاء عنوان بإستخدام العنصر h2 |
الوصف
h2 الذي ستضيفه في هذه الخطوة، سيقوم بإضافة عنوان من المستوى الثاني لصفحة الويب. هذا العنصر يخبر المتصفح بنية موقعك. العنصر h1 غالباً ما يستخدم في العنوان الرئيسي، بينما العنصر h2 يستخدم بشكل عام في العنوان الفرعية. هنالك ايضا عناصر اخرى وهي h3 و h4 و h5 و h6 و هي تمثل مستويات مختلفة من العناوين الفرعية.التعليمات
h2 يعرض الجملة "CatPhotoApp" لإنشاء عنصر HTML ثاني أسفل العنصر h1 "Hello World". الاختبارات
tests:
- text: 'قم بإنشاء العنصر <code>h2</code>.'
testString: 'assert(($("h2").length > 0), "انشئ عنصر <code>h2</code>.");'
- text: 'تأكد من إغلاق قوس العنصر <code>h2</code>.'
testString: 'assert(code.match(/<\/h2>/g) && code.match(/<\/h2>/g).length === code.match(/<h2>/g).length, "Make sure your <code>h2</code> element has a closing tag.");'
- text: 'العنصر <code>h2</code> يجب أن يحتوي على النص التالي "CatPhotoApp".'
testString: 'assert.isTrue((/cat(\s)?photo(\s)?app/gi).test($("h2").text()), "Your <code>h2</code> element should have the text "CatPhotoApp".");'
- text: العنصر <code>h1</code> يجب أن يحتوي على النص التالي "Hello World".
testString: 'assert.isTrue((/hello(\s)+world/gi).test($("h1").text()), "Your <code>h1</code> element should have the text "Hello World".");'
Challenge Seed
<h1>Hello World</h1>
Solution
// solution required