--- id: bad87fee1347bd9aedf08845 title: Ditch Custom CSS for Bootstrap challengeType: 0 videoUrl: '' localeTitle: Ditch CSS personalizado para Bootstrap --- ## Description
Podemos limpar nosso código e tornar nosso Cat Photo App mais convencional usando os estilos internos do Bootstrap em vez dos estilos personalizados que criamos anteriormente. Não se preocupe - haverá tempo suficiente para personalizar o nosso CSS mais tarde. Exclua as declarações CSS .red-text , p e .smaller-image de seu elemento style para que as únicas declarações deixadas em seu elemento style sejam h2 e thick-green-border . Em seguida, exclua o elemento p que contém um link inativo. Em seguida, remova a classe de red-text do seu elemento h2 e substitua-a text-primary classe Bootstrap text-primary . Por fim, remova a classe "small-image" do seu primeiro elemento img e substitua-a img-responsive classe img-responsive .
## Instructions
## Tests
```yml tests: - text: Seu elemento h2 não deve mais ter a classe red-text . testString: 'assert(!$("h2").hasClass("red-text"), "Your h2 element should no longer have the class red-text.");' - text: Seu elemento h2 agora deve ter a classe text-primary . testString: 'assert($("h2").hasClass("text-primary"), "Your h2 element should now have the class text-primary.");' - text: Seus elementos de parágrafo não devem mais usar a fonte Monospace . testString: 'assert(!$("p").css("font-family").match(/monospace/i), "Your paragraph elements should no longer use the font Monospace.");' - text: Remova a classe de smaller-image da sua imagem superior. testString: 'assert(!$("img").hasClass("smaller-image"), "Remove the smaller-image class from your top image.");' - text: Adicione a classe img-responsive à sua imagem principal. 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 ```