title: How to include external jQuery file in HTML?
body: <p>I have make a small example in JSFiddle. It is correct, but now I want to put the content of that example in files in localhost in my computer. But I am having problems with including the <code>.js</code> file. It does not load. Please could you help me? What is the problem?</p>
  
  <p>Here is my JSFiddle example: <a href="http://jsfiddle.net/orsina/n5m3bfen/" rel="nofollow">Click here</a></p>
  
  <p>Here is my <code>index.html</code> file in local host : </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;!--This is the first html page of the website--&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;meta name="description" content="This is a simple example"&gt;
  &lt;meta name="keywords" content="multiple, add, substract"&gt; 
  &lt;title&gt;Tirana&lt;/title&gt;
  &lt;link rel="stylesheet" type="text/css"  href="style2.css"&gt;
  &lt;link rel="icon" href="images/logo.png" type="image/png" sizes="40x35"&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="code.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;div class="container"&gt;
  &lt;textarea id="input" name="Input1" cols="40" rows="5" placeholder="enter your input here"&gt;
  number a =5
  number b =7
  sum = a+b 
  &lt;/textarea&gt;
  &lt;input type="button" value="test" /&gt;
  &lt;textarea id="output" name="Output1" cols="40" rows="5" placeholder="output" readonly&gt;&lt;/textarea&gt;
     &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And I have use this to include the <code>.js</code> file:</p>
  
  <pre><code> &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="codejs.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Here is my <code>codejs.js</code> file:</p>
  
  <pre><code>$('input[type=button]').click(function () {
      var result= "";
      var lines = $('#input').val().split('\n');
  
      for (var i = 0; i &lt; lines.length; i++) {
              result += lines[i];
              result += "\n";
      }
  
      $("#output").html(result);
  
  });
  </code></pre>
  
  <p>Please could you help me? Thanks in advance</p>