--- id: bad87fee1348bd9acde08812 title: Make Images Mobile Responsive challengeType: 0 videoUrl: '' localeTitle: Tornar as imagens móveis responsivas --- ## Description
Primeiro, adicione uma nova imagem abaixo da existente. Configure seu atributo src para https://bit.ly/fcc-running-cats . Seria ótimo se essa imagem pudesse ser exatamente a largura da tela do nosso telefone. Felizmente, com o Bootstrap, tudo o que precisamos fazer é adicionar a classe img-responsive à sua imagem. Faça isso e a imagem deve caber perfeitamente na largura da sua página.
## Instructions
## Tests
```yml tests: - text: Você deve ter um total de duas imagens. testString: 'assert($("img").length === 2, "You should have a total of two images.");' - text: Sua nova imagem deve estar abaixo da sua antiga e ter a classe img-responsive . testString: 'assert($("img:eq(1)").hasClass("img-responsive"), "Your new image should be below your old one and have the class img-responsive.");' - text: Sua nova imagem não deve ter a classe smaller-image . testString: 'assert(!$("img:eq(1)").hasClass("smaller-image"), "Your new image should not have the class smaller-image.");' - text: 'Sua nova imagem deve ter um src de https://bit.ly/fcc-running-cats .' testString: 'assert($("img:eq(1)").attr("src") === "https://bit.ly/fcc-running-cats", "Your new image should have a src of https://bit.ly/fcc-running-cats.");' - text: Certifique-se de que seu novo elemento img tenha um colchete angular de fechamento. testString: 'assert(code.match(//g).length === 2 && code.match(/img element has a closing angle bracket.");' ```
## Challenge Seed
```html

CatPhotoApp

Click here for cat photos.

A cute orange cat lying on its back.

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 ```