--- id: bad87fee1348cd8acdf08812 title: Create a Bootstrap Button challengeType: 0 forumTopicId: 16811 dashedName: create-a-bootstrap-button --- # --description-- Bootstrap has its own styles for `button` elements, which look much better than the plain HTML ones. Create a new `button` element below your large kitten photo. Give it the `btn` and `btn-default` classes, as well as the text of "Like". # --hints-- You should create a new `button` element with the text "Like". ```js assert( new RegExp('like', 'gi').test($('button').text()) && $('img.img-responsive + button.btn').length > 0 ); ``` Your new button should have two classes: `btn` and `btn-default`. ```js assert($('button').hasClass('btn') && $('button').hasClass('btn-default')); ``` All of your `button` elements should have closing tags. ```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
```