Check out example codes for "cdnjs font awesome". It will help you in understanding the concepts better.

Code Example 1

<link href="" rel="stylesheet">

Code Example 2

<link  rel="stylesheet" href="">

Code Example 3

Make sure to put this just before the </body> tag!

<script src=""></script>

Code Example 4

<link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">

Code Example 5

//Latest version
<script src="" integrity="sha512-YSdqvJoZr83hj76AIVdOcvLWYMWzy6sJyIMic2aQz5kh2bPTd9dzY3NtdeEAzPp/PhgZqr4aJObB3ym/vsItMg==" crossorigin="anonymous"></script>

Code Example 6

<link href="" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">

Learn ReactJs, React Native from