We can clean up our code and make our Cat Photo App look more conventional by using Bootstrap's built-in styles instead of the custom styles we created earlier.
Don't worry - there will be plenty of time to customize our CSS later.
Delete the <code>.red-text</code>, <code>p</code>, and <code>.smaller-image</code> CSS declarations from your <code>style</code> element so that the only declarations left in your <code>style</code> element are <code>h2</code> and <code>thick-green-border</code>.
Then delete the <code>p</code> element that contains a dead link. Then remove the <code>red-text</code> class from your <code>h2</code> element and replace it with the <code>text-primary</code> Bootstrap class.
Finally, remove the "smaller-image" class from your first <code>img</code> element and replace it with the <code>img-responsive</code> class.
- text: Your h2 element should no longer have the class <code>red-text</code>.
testString: 'assert(!$("h2").hasClass("red-text"), ''Your h2 element should no longer have the class <code>red-text</code>.'');'
- text: Your h2 element should now have the class <code>text-primary</code>.
testString: 'assert($("h2").hasClass("text-primary"), ''Your h2 element should now have the class <code>text-primary</code>.'');'
- text: Your paragraph elements should no longer use the font <code>Monospace</code>.
testString: 'assert(!$("p").css("font-family").match(/monospace/i), ''Your paragraph elements should no longer use the font <code>Monospace</code>.'');'
- text: Remove the <code>smaller-image</code> class from your top image.
testString: 'assert(!$("img").hasClass("smaller-image"), ''Remove the <code>smaller-image</code> class from your top image.'');'
- text: Add the <code>img-responsive</code> class to your top image.
testString: 'assert($(".img-responsive").length > 1, ''Add the <code>img-responsive</code> class to your top image.'');'