I want to add an icon to my page but for some reason they’re not showing, does anyone know why?
This is my HTML
<i class="fa fa-3x fa-fire"></i>
</div>
<div class="features-link">
<h1 class="links"> Premium Materials <h1>
<p>Our trombones use the shiniest brass which is sourced locally. This will increase the longevity of your purchase.</p>
</div>
</div>
That is supposed to be your icon? It is empty and there is nothing in your CSS targeting any of those classes or the i element. Either insert an image in your HTML or target the element with CSS and insert an image through that method.
Hi, I don’t know which version of fontawesome you are using but this is the code for the fire icon:
<i class="fas fa-fire"></i>
They made some changes in the last version and you can use only the solid (from here the s in fas) variations of the icons. If you pay you’ll be able to use the regular, light and duotone icons.
The first class that you put is “fa” not “fas”.
“fa” is deprecated in favour of the ones that specify the type of the icon.
The ones available for free are “fas” (Fontawesome solid) and “fab” (Fontawesome brands).