title: Installing jQuery - What Have I Missed?
body: <p>I'm very new to coding from scratch and use Aptana Studios. I only learned to code through the site Codeacademy so although I can code I am unfamiliar with working with programs like Aptana, linking documents and terminology. So, I apologize in advance for the length of this question. In short, I want <strong>a <em>full explanation</em> as to how jQuery can be 'installed'</strong>. I am unsure as to whether 'installed' is the right choice of word in this case so I have provided a more detailed account of my problem below.</p>
  
  <hr>
  
  <p>Everything was going great when I coded the HTML and CSS of a webpage task I had set myself - it was when I needed to use jQuery that I ran into problems. The code I wanted to use was:</p>
  
  <pre><code>$(document).ready(function(){
      $('table').hide();
  });
  </code></pre>
  
  <p>^^ (just including in case I've made a silly mistake somewhere) ^^</p>
  
  <p>I assume there is something wrong with how I linked my Javascript file to my HTML, or I have failed to properly 'install' jQuery. This is what I did to gain access to jQuery:</p>
  
  <p>I copied the code from the jQuery site into a .js document and saved it in the same folder in which all my HTML and CSS documents are saved. I then linked it to the HTML like this:</p>
  
  <pre><code>&lt;script type='text/javascript' src='jquery.js'&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I was completely unable to find any kind of tutorial explaining how this was done in detail. Even the jQuery site's explanation seemed vague to me.</p>
  
  <p>After this I linked my own code to my HTML using:</p>
  
  <pre><code>&lt;script type="text/javascript" src="barns.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I wasn't amazingly surprised when it didn't work out so I proceeded to go on a hunt for answers but I came back with nothing. This is probably more to do with how I've been taught to code rather than a lack of explanation - my small knowledge of coding vocabulary is evident even in this question - but believe me, the last thing I wanted to do was to ask myself so I really wouldn't be doing this unless I really had run out of options.</p>