.red-text
و p
و .smaller-image
من عنصر style
الخاص بك بحيث تكون التصريحات الوحيدة المتبقية في عنصر style
الخاص بك هي h2
thick-green-border
. ثم احذف العنصر p
الذي يحتوي على رابط خامد. ثم قم بإزالة فئة red-text
من عنصر h2
واستبدله بفئة Bootstrap text-primary
. أخيرًا ، أزل فئة "الصورة الأصغر" من عنصر img
الأول img
بفئة img-responsive
. red-text
للفئة.
testString: 'assert(!$("h2").hasClass("red-text"), "Your h2 element should no longer have the class red-text
.");'
- text: يجب أن يكون عنصر h2 الخاص بك يحتوي الآن على text-primary
.
testString: 'assert($("h2").hasClass("text-primary"), "Your h2 element should now have the class text-primary
.");'
- text: لم يعد يجب استخدام عناصر الفقرة الخط Monospace
.
testString: 'assert(!$("p").css("font-family").match(/monospace/i), "Your paragraph elements should no longer use the font Monospace
.");'
- text: أزل فئة smaller-image
من صورتك العلوية.
testString: 'assert(!$("img").hasClass("smaller-image"), "Remove the smaller-image
class from your top image.");'
- text: أضف فئة img-responsive
إلى أعلى صورة.
testString: 'assert($(".img-responsive").length > 1, "Add the img-responsive
class to your top image.");'
```
Click here for cat photos.
Things cats love:
Top 3 things cats hate: