Jump to content

Calling font awesome SVGs using javascript


Khalid Amah

Recommended Posts

<html>
  <head>
    <!-- Notice how the data-search-pseudo-elements has no explicit value. This sets it to "true". -->
    <script
      src="https://use.fontawesome.com/releases/v5.13.0/js/all.js"
      data-search-pseudo-elements
    ></script>
  </head>
  <body></body>
</html>

 

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...