title: Font Awesome in Javascript Error: Uncaught SyntaxError: Unexpected identifier ​
body: <p>I just discovered a font library named Font Awesome. I tried to integrate it as followed but I got the error message in the console. 
  " Uncaught SyntaxError: Unexpected identifier "</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var button= document.getElementById("btn");
  var icon=document.getElementById("ic");
  
  button.addEventListener("click", function(){
   icon.innerHTML="&lt;i class="fa fa-wifi" aria-hidden="true"&gt;&lt;/i&gt;";
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;head&gt;
   &lt;script src="https://use.fontawesome.com/180fe96fd3.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  
  
  &lt;body&gt;
  &lt;button id="btn"&gt;Click for wifi&lt;/button&gt;
  &lt;p&gt;
  &lt;span id="ic"&gt;&lt;/span&gt;
  &lt;/p&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Basically, what I want to do is, when the user click the icons, the wifi icons from font awesome appeared in the span area. Am I using the correct method for usage in Javascript? Once again, thank you for your time.</p>