xxxxxxxxxx
If only some icons seem not to work is very likely you've imported
the wrong version of FontAwesome, try this:
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.13.0/css/all.css"
integrity="sha384-Bfad6CLCknfcloXFOyFnlgtENryhrpZCe29RTifKEixXQZ38WheV+i/6YWSzkz3V"
crossorigin="anonymous"
/>
xxxxxxxxxx
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.4/css/fontawesome.min.css" integrity="sha384-jLKHWM3JRmfMU0A5x5AkjWkw/EYfGUAGagvnfryNV3F9VqM98XiIH7VBGVoxVSc7" crossorigin="anonymous">
xxxxxxxxxx
If you have problem with react.
try adding below line to app.js
import "@fortawesome/fontawesome-free/css/all.min.css";
and in package.json add
"@fortawesome/fontawesome-free": "^6.1.1",
(Version doesnt matter add latest)
You should good to go.. More details on, https://fontawesome.com/docs/web/use-with/react/use-with
xxxxxxxxxx
Make sure you import FontAwesome correctly indented.
#Take the code from your font awesome