--- id: bad87fee1348cd8acef08813 title: Chamar ações opcionais com btn-info challengeType: 0 forumTopicId: 16770 dashedName: call-out-optional-actions-with-btn-info --- # --description-- O Bootstrap vem com diversas cores predefinidas para botões. A classe `btn-info` é usada para chamar atenção para ações opcionais que o usuário pode tomar. Crie um botão do Bootstrap com nível de bloco abaixo do botão `Like` com o texto `Info`, adicionando a ele a classe `btn-info` do Bootstrap. Note que esses botões ainda precisam das classes `btn` e `btn-block`. # --hints-- Você deve criar um novo elemento `button` com o texto `Info`. ```js assert(new RegExp('info', 'gi').test($('button').text())); ``` Ambos os botões do Bootstrap devem ter as classes `btn` e `btn-block`. ```js assert($('button.btn-block.btn').length > 1); ``` O novo botão deve ter a classe `btn-info`. ```js assert($('button').hasClass('btn-info')); ``` Todos os elementos `button` devem ter tags de fechamento. ```js assert( code.match(/<\/button>/g) && code.match(/

Things cats love:

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
``` # --solutions-- ```html

CatPhotoApp

Click here for cat photos.

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

Things cats love:

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
```