--- id: bad87fee1347bd9aedf08845 title: Ditch Custom CSS for Bootstrap challengeType: 0 videoUrl: '' localeTitle: Ditch Custom CSS для Bootstrap --- ## Description
Мы можем очистить наш код и сделать наше приложение Cat Photo более обычным, используя встроенные стили Bootstrap вместо пользовательских стилей, которые мы создали ранее. Не волнуйтесь - у нас будет много времени, чтобы настроить наш CSS позже. Удалите объявления CSS .red-text , p и .smaller-image из вашего элемента style чтобы только объявления, оставшиеся в вашем элементе style были h2 и thick-green-border . Затем удалите элемент p , содержащий мертвую ссылку. Затем удалите класс red-text из вашего элемента h2 и замените его на text-primary класс Bootstrap. Наконец, удалите класс «меньшего изображения» из вашего первого элемента img и замените его классом img-responsive .
## Instructions
## Tests
```yml tests: - text: Ваш элемент h2 больше не должен иметь 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: '' testString: 'assert(!$("p").css("font-family").match(/monospace/i), "Your paragraph elements should no longer use the font Monospace.");' - text: '' testString: 'assert(!$("img").hasClass("smaller-image"), "Remove the smaller-image class from your top image.");' - text: '' 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 ```