Styling Pseudo-classes & elements

Loved the tutorial everything worked perfectly except no FontAwesome 4 icon. What did I miss?
#tour-button:before { font-family: FontAwesome; content: '\f01b'; margin-right: 9px; }

It is hard to tell. There are three parts -the CSS, the ID on the button, and the font awesome stylesheet.
You have the CSS correct.
Does the button have the correct ID?


Is the stylesheet attached to the page?

1 Like

You were right, though I swear I put the ID in ; )
<button class="button" id="tour-button">Take a Tour</button>
On to the next tutorial.

1 Like