--- id: bad87fee1348bd9aedc08845 title: Add Font Awesome Icons to all of our Buttons required: - link: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css' raw: true challengeType: 0 --- ## Description
Font Awesome is a convenient library of icons. These icons are vector graphics, stored in the .svg file format. These icons are treated just like fonts. You can specify their size using pixels, and they will assume the font size of their parent HTML elements. Use Font Awesome to add an info-circle icon to your info button and a trash icon to your delete button. Note: The span element is an acceptable alternative to the i element for the directions below.
## Instructions
## Tests
```yml tests: - text: You should add a <i class="fa fa-info-circle"></i> within your info button element. testString: assert($(".btn-info > i").is(".fa.fa-info-circle") || $(".btn-info > span").is(".fa.fa-info-circle"), 'You should add a <i class="fa fa-info-circle"></i> within your info button element.'); - text: You should add a <i class="fa fa-trash"></i> within your delete button element. testString: assert($(".btn-danger > i").is(".fa.fa-trash") || $(".btn-danger > span").is(".fa.fa-trash"), 'You should add a <i class="fa fa-trash"></i> within your delete button element.'); - text: Make sure each of your i elements has a closing tag and <i class="fa fa-thumbs-up"></i> is in your like button element. testString: assert(code.match(/<\/i>|<\/span/g) && code.match(/<\/i|<\/span>/g).length > 2 && ($(".btn-primary > i").is(".fa.fa-thumbs-up") || $(".btn-primary > span").is(".fa.fa-thumbs-up")), 'Make sure each of your i elements has a closing tag and <i class="fa fa-thumbs-up"></i> is in your like button element.'); ```
## Challenge Seed
```html

CatPhotoApp

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

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
```
## Solution
```js // solution required ```