--- id: bad87fee1347bd9aedf08845 title: Ditch Custom CSS for Bootstrap challengeType: 0 videoUrl: '' localeTitle: Ditch Custom CSS para Bootstrap --- ## Description
Podemos limpiar nuestro código y hacer que nuestra aplicación Cat Photo se vea más convencional utilizando los estilos incorporados de Bootstrap en lugar de los estilos personalizados que creamos anteriormente. No se preocupe, habrá mucho tiempo para personalizar nuestro CSS más tarde. Elimine las declaraciones CSS de .red-text , p , y .smaller-image de su elemento de style para que las únicas declaraciones que queden en su elemento de style sean h2 y thick-green-border . Luego borra el elemento p que contiene un enlace muerto. Luego elimine la clase de red-text de su elemento h2 y reemplácela con la clase Bootstrap text-primary . Finalmente, elimine la clase de "imagen más pequeña" de su primer elemento img y reemplácela con la clase img-responsive .
## Instructions
## Tests
```yml tests: - text: Tu elemento h2 ya no debería tener la clase red-text . testString: 'assert(!$("h2").hasClass("red-text"), "Your h2 element should no longer have the class red-text.");' - text: Tu elemento h2 ahora debería tener la clase text-primary . testString: 'assert($("h2").hasClass("text-primary"), "Your h2 element should now have the class text-primary.");' - text: Tus elementos de párrafo ya no deberían usar la fuente Monospace . testString: 'assert(!$("p").css("font-family").match(/monospace/i), "Your paragraph elements should no longer use the font Monospace.");' - text: Elimine la clase de smaller-image de su imagen superior. testString: 'assert(!$("img").hasClass("smaller-image"), "Remove the smaller-image class from your top image.");' - text: Agregue la clase img-responsive a su imagen superior. 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 ```