--- id: bad87fee1348cd8acdf08812 title: Crea un botón de Bootstrap challengeType: 0 forumTopicId: 16811 dashedName: create-a-bootstrap-button --- # --description-- Bootstrap tiene sus propios estilos para los elementos `button`, que se ven mucho mejor que los de HTML puro. Crea un nuevo elemento `button` debajo de la foto grande de tu gatito. Dale las clases `btn` y `btn-default`, así como el texto de `Like`. # --hints-- Debes crear un nuevo elemento `button` con el texto `Like`. ```js assert( new RegExp('like', 'gi').test($('button').text()) && $('img.img-responsive + button.btn').length > 0 ); ``` Tu nuevo botón debe tener dos clases: `btn` y `btn-default`. ```js assert($('button').hasClass('btn') && $('button').hasClass('btn-default')); ``` Todos los elementos de tu `button` deben tener etiquetas de cierre. ```js assert( code.match(/<\/button>/g) && code.match(/ ``` # --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
```