font awsome head code example
Example 1: link font awesome html
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.13.0/css/all.css"
integrity="sha384-Bfad6CLCknfcloXFOyFnlgtENryhrpZCe29RTifKEixXQZ38WheV+i/6YWSzkz3V"
crossorigin="anonymous"
/>
Example 2: how to use fontawesome with bootstrap
To use fontawesome icons with bootstrap it is very simple:
This is the default: <i class="fas fa-shopping-basket"></i>
With bootstrap it needs to be: <i class="fa fa-shopping-basket"></i>
fas should be changed to fa.