--- id: bad87fee1348cd8acef08813 title: Llama a acciones opcionales con btn-info challengeType: 0 forumTopicId: 16770 dashedName: call-out-optional-actions-with-btn-info --- # --description-- Bootstrap viene con varios colores predefinidos para los botones. La clase `btn-info` se utiliza para llamar la atención sobre las acciones opcionales que el usuario puede realizar. Crea un nuevo botón de Bootstrap a nivel de bloque debajo de tu botón de `Like` con el texto `Info`, y agrégale la clase de Boostrap `btn-info`. Ten en cuenta que estos botones todavía necesitan las clases `btn` y `btn-block`. # --hints-- Debes crear un nuevo elemento `button` con el texto `Info`. ```js assert(new RegExp('info', 'gi').test($('button').text())); ``` Tus dos botones de Bootstrap deben tener las clases `btn` y `btn-block`. ```js assert($('button.btn-block.btn').length > 1); ``` Tu nuevo botón debe tener la clase `btn-info`. ```js assert($('button').hasClass('btn-info')); ``` Todos los elementos `button` deben tener etiquetas de cierre. ```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
```