---
id: bad87fee1348bd9aedf0887a
title: Headline with the h2 Element
challengeType: 0
videoUrl: ''
localeTitle: العنوان مع عنصر h2
---
## Description
undefined
## Instructions
إضافة علامة h2
تقول "CatPhotoApp" لإنشاء element
HTML ثاني أسفل عنصر h1
"Hello World".
## Tests
```yml
tests:
- text: قم بإنشاء عنصر h2
.
testString: 'assert(($("h2").length > 0), "Create an h2
element.");'
- text: ''
testString: 'assert(code.match(/<\/h2>/g) && code.match(/<\/h2>/g).length === code.match(//g).length, "Make sure your h2
element has a closing tag.");'
- text: ''
testString: 'assert.isTrue((/cat(\s)?photo(\s)?app/gi).test($("h2").text()), "Your h2
element should have the text "CatPhotoApp".");'
- text: يجب أن يحتوي عنصر h1
على النص "Hello World".
testString: 'assert.isTrue((/hello(\s)+world/gi).test($("h1").text()), "Your h1
element should have the text "Hello World".");'
```
## Challenge Seed
## Solution
```js
// solution required
```