title: jQuery adding CSS classes to links in order to display an icon next to the links
body: <p>So I'm wondering how I can use jQuery to add a CSS class to links that have a specific file extension on them. As long as jQuery can be used with the same principles as javascript I can probably figure out filtering correct links myself, but I'm not too certain as to how I can use the jQuery script to make these changes and how I should handle the icons.</p>
  
  <p>The icons are already on the webpage, like so:</p>
  
  <pre><code>&lt;img src="img/download.png" alt="download"&gt;
  </code></pre>
  
  <p>Does this mean that I can refer to the icons with their alts (for example "download") within the jQuery file that is being run in the HTML background? </p>