--- id: bad87fee1348cd8acdf08812 title: Criar um botão do Bootstrap challengeType: 0 forumTopicId: 16811 dashedName: create-a-bootstrap-button --- # --description-- O Bootstrap possui seus próprios estilos para elementos `button`, os quais ficam muito melhores do que aqueles botões em HTML puro. Crie um novo elemento `button` abaixo da foto grande do gatinho. Dê a ele as classes `btn` e `btn-default`, assim como o texto `Like`. # --hints-- Você deve criar um novo elemento `button` com o texto `Like`. ```js assert( new RegExp('like', 'gi').test($('button').text()) && $('img.img-responsive + button.btn').length > 0 ); ``` O novo botão deve ter duas classes: `btn` e `btn-default`. ```js assert($('button').hasClass('btn') && $('button').hasClass('btn-default')); ``` Todos os elementos `button` devem ter tags de fechamento. ```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
```