text-center
إلى عنصر h2
. تذكر أنه يمكنك إضافة عدة فئات إلى نفس العنصر عن طريق فصل كل منها بمسافة ، مثل: <h2 class="red-text text-center">your text</h2>
h2
عن طريق تطبيق text-center
للصف
testString: 'assert($("h2").hasClass("text-center"), "Your h2
element should be centered by applying the class text-center
");'
- text: يجب أن h2
عنصر h2
red-text
للفصل
testString: 'assert($("h2").hasClass("red-text"), "Your h2
element should still have the class red-text
");'
```
Click here for cat photos.
Things cats love:
Top 3 things cats hate: