SwitchUp SwitchUp Ranked Best Coding Bootcamps 2025

Fontawesome icons not working on codepen.io

Altcademy Team wrote on 7 February 2018

<i class="fa fa-codepen" aria-hidden="true"></i>
this code for fa fa icon is not working for me on code pen Any one, any idea?

Answer
Make sure you have linked to the Font Awesome CDN in your html file. You can get one by going to http://fontawesome.io/get-started/ and inputing your email address. It will look something like this.
<script src="https://use.fontawesome.com/9d03eba9c5.js"></script>

Here is a link for a working codepen https://codepen.io/xiaopow/pen/ORPpJJ

Trusted by

Students and instructors from world-class organizations

Imperial College London
Carnegie Mellon University
City University of Hong Kong
Hack Reactor
Cisco Meraki
University of Oxford
Swift
Bazaarvoice
Waterloo
Uber
AtlanTech
Tumblr
Boston College
Bombardier Aerospace
University of St. Andrews
New York University
Minerva Schools at KGI
Merrill Lynch
Riot Games
JP Morgan
Morgan Stanley
Advanced Placement®
Google
KPMG
The University of Hong Kong
University of Toronto
SCMP
Moat
Zynga
Hello Toby
Deloitte
Goldman Sachs
Yahoo
HSBC
General Assembly
Tesla
McGill University
Microsoft

Join the upcoming Cohort #97

Enroll for January 6th, 2025