use.fontawesome.com code example
Example 1: bootstrap font asesome cdn
The correct one -> Give an upvote if it helps
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css"
/>
Example 2: font awesome cdn
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">