---
id: bad87fee1348bd9aedd08845
title: Add Font Awesome Icons to our Buttons
required:
- link: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.css'
raw: true
challengeType: 0
videoUrl: ''
localeTitle: ''
---
## Description
undefined
## Instructions
undefined
## Tests
```yml
tests:
- text: إضافة عنصر i مع فئات fa و fa-thumbs-up .
testString: 'assert($("i").is(".fa.fa-thumbs-up") || $("span").is(".fa.fa-thumbs-up"), "Add an i element with the classes fa and fa-thumbs-up.");'
- text: يجب fa-thumbs-up رمز fa-thumbs-up الخاص بك داخل الزر Like.
testString: 'assert(($("i.fa-thumbs-up").parent().text().match(/Like/gi) && $(".btn-primary > i").is(".fa.fa-thumbs-up")) || ($("span.fa-thumbs-up").parent().text().match(/Like/gi) && $(".btn-primary > span").is(".fa.fa-thumbs-up")), "Your fa-thumbs-up icon should be located within the Like button.");'
- text: عش عنصر i الخاص بك داخل عنصر button الخاص بك.
testString: 'assert($("button").children("i").length > 0 || $("button").children("span").length > 0, "Nest your i element within your button element.");'
- text: تأكد من أن عنصر الرمز الخاص بك يحتوي على علامة إغلاق.
testString: 'assert(code.match(/<\/i>|<\/span>/g), "Make sure your icon element has a closing tag.");'
```
## Challenge Seed