--- id: bad87fee1347bd9aedf08845 title: Ditch Custom CSS for Bootstrap challengeType: 0 --- ## Description
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 .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.
## Instructions
## Tests
```yml tests: - text: Your h2 element should no longer have the 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.");' ```
## Challenge Seed
```html

CatPhotoApp

Click here for cat photos.

A cute orange cat lying on its back. Three kittens running towards the camera.

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
```
## Solution
```js // solution required ```