Files
freeCodeCamp/curriculum/challenges/arabic/01-responsive-web-design/basic-html-and-html5/delete-html-elements.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

1.5 KiB

id, title, challengeType, videoUrl, localeTitle
id title challengeType videoUrl localeTitle
bad87fed1348bd9aedf08833 Delete HTML Elements 0 احذف عناصر HTML

الوصف

لا يمتلك هاتفنا مساحة عمودية كبيرة. دعونا نزيل العناصر غير الضرورية حتى نتمكن من البدء في بناء CatPhotoApp.

الخطوات

احذف العنصر h1 حتى نتمكن من تبسيط طريقة العرض.

الاختبارات

tests:
  - text: احذف العنصر <code>h1</code> .
    testString: 'assert(!code.match(/<h1>/gi) && !code.match(/<\/h1>/gi), "Delete your <code>h1</code> element.");'
  - text: اترك العنصر <code>h2</code> على الصفحة.
    testString: 'assert(code.match(/<h2>[\w\W]*<\/h2>/gi), "Leave your <code>h2</code> element on the page.");'
  - text: اترك العنصر <code>p</code> على الصفحة.
    testString: 'assert(code.match(/<p>[\w\W]*<\/p>/gi), "Leave your <code>p</code> element on the page.");'

Challenge Seed

<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>

Solution

// solution required