Files
freeCodeCamp/curriculum/challenges/arabic/01-responsive-web-design/basic-html-and-html5/headline-with-the-h2-element.arabic.md
Mo7amm1d 579aa7628c Improving Arabic translation on several "Basic HTML and HTML5" section files (#34908)
* 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.
2019-05-06 15:59:19 -07:00

58 lines
2.4 KiB
Markdown

---
id: bad87fee1348bd9aedf0887a
title: Headline with the h2 Element
challengeType: 0
videoUrl: ''
localeTitle: إنشاء عنوان بإستخدام العنصر h2
---
## الوصف
<section id='description'>
في الدروس القادمة، سنقوم بإنشاء تطبيق ويب للصور القطع قطعة بقطعة. العنصر <code>h2</code> الذي ستضيفه في هذه الخطوة، سيقوم بإضافة عنوان من المستوى الثاني لصفحة الويب. هذا العنصر يخبر المتصفح بنية موقعك. العنصر <code>h1</code> غالباً ما يستخدم في العنوان الرئيسي، بينما العنصر <code>h2</code> يستخدم بشكل عام في العنوان الفرعية. هنالك ايضا عناصر اخرى وهي <code>h3</code> و <code>h4</code> و <code>h5</code> و <code>h6</code> و هي تمثل مستويات مختلفة من العناوين الفرعية.</section>
## التعليمات
<section id="instructions"> إضافة وسم <code>h2</code> يعرض الجملة &quot;CatPhotoApp&quot; لإنشاء <code>عنصر</code> HTML ثاني أسفل العنصر <code>h1</code> &quot;Hello World&quot;. </section>
## الاختبارات
<section id='tests'>
```yml
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".");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='html-seed'>
```html
<h1>Hello World</h1>
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>