-2

I use fontawesome to show icons in my project

For example I use these tags in some place

<link href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" rel="stylesheet" />

<i class="fas fa-map"></i>
<i class="fas fa-map-marked-alt"></i>

The first one is being shown but the second one isn't. Consider that both of icons are free icons

1 Answers1

0

You are using version 5's syntax but linking to version 4 FA's css.

fa or fas = Font Awesome Solid
far = Font Awesome Regular
fal = Font Awesome Light
fab = Font Awesome Brands


<i class="fa fa-camera-retro"></i>  <!-- version 4's syntax -->

<i class="fas fa-camera-retro"></i> <!-- version 5's syntax -->
<i class="far fa-camera-retro"></i> <!-- example: regular style of camera-retro -->
<i class="fal fa-camera-retro"></i> <!-- example: light style of camera-retro -->

<link href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" rel="stylesheet"/>

<i class="fas fa-map"></i>
<i class="fas fa-map-marked-alt"></i>
Junius L
  • 15,881
  • 6
  • 52
  • 96