498 B
498 B
title |
---|
Add Font Awesome Icons to our Buttons |
Add Font Awesome Icons to our Buttons
The challenge requires you to add a thumbs up icon from font awesome to the button with the text 'Like' in it
Hint 1
The <i>
tag is not self-closing.
Hint 2
Use the classes fa
and fa-thumbs-up
.
Solution
Modify the button tag to the following:
<button class="btn btn-block btn-primary">
<i class="fa fa-thumbs-up"></i>
Like
</button>