.red-text
, p
, and .smaller-image
CSS declarations from your style
element so that the only declarations left in your style
element are h2
and thick-green-border
.
Then delete the p
element that contains a dead link. Then remove the red-text
class from your h2
element and replace it with the text-primary
Bootstrap class.
Finally, remove the "smaller-image" class from your first img
element and replace it with the img-responsive
class.
red-text
.
testString: assert(!$("h2").hasClass("red-text"), 'Your h2 element should no longer have the class red-text
.');
- text: Your h2 element should now have the class text-primary
.
testString: assert($("h2").hasClass("text-primary"), 'Your h2 element should now have the class text-primary
.');
- text: Your paragraph elements should no longer use the font Monospace
.
testString: assert(!$("p").css("font-family").match(/monospace/i), 'Your paragraph elements should no longer use the font Monospace
.');
- text: Remove the smaller-image
class from your top image.
testString: assert(!$("img").hasClass("smaller-image"), 'Remove the smaller-image
class from your top image.');
- text: Add the img-responsive
class to your top image.
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: