---
id: bad87fee1348bd9aec908846
title: Create a Bootstrap Headline
challengeType: 0
videoUrl: ''
localeTitle: قم بإنشاء عنوان Bootstrap
---
## Description
الآن دعونا نبني شيئًا ما من الصفر لممارسة مهارات HTML و CSS و Bootstrap. سنقوم ببناء ملعب jQuery ، والذي سنستخدمه قريبًا في تحديات jQuery. للبدء ، أنشئ عنصر h3
، باستخدام jQuery Playground
للنص. قم h3
عنصر h3
الخاص بك مع فئة Bootstrap text-primary
، وقم بتوسيطها مع فئة Bootstrap في مركز text-center
.
## Instructions
## Tests
```yml
tests:
- text: أضف عنصر h3
إلى صفحتك.
testString: 'assert($("h3") && $("h3").length > 0, "Add a h3
element to your page.");'
- text: تأكد من أن عنصر h3
يحتوي على علامة إغلاق.
testString: 'assert(code.match(/<\/h3>/g) && code.match(//g).length === code.match(/h3 element has a closing tag.");'
- text: يجب أن يكون لون عنصر h3
الخاص بك عن طريق تطبيق الفصل الدراسي text-primary
testString: 'assert($("h3").hasClass("text-primary"), "Your h3
element should be colored by applying the class text-primary
");'
- text: يجب توسيط عنصر h3
الخاص بك من خلال تطبيق text-center
الفصل
testString: 'assert($("h3").hasClass("text-center"), "Your h3
element should be centered by applying the class text-center
");'
- text: ''
testString: 'assert.isTrue((/jquery(\s)+playground/gi).test($("h3").text()), "Your h3
element should have the text jQuery Playground
.");'
```
## Challenge Seed
## Solution
```js
// solution required
```