title: How do I run javascript on sublime text 2?
body: <p>I am working on creating a sketching board and was wondering how do I create a JavaScript file in Sublime Text 2. When I save the file, do I just save it as index.js? By doing that, does it mean the file is a JavaScript file? </p>
  
  <p>I have done the following, but it doesn't really work I think. Because I created a button in html/css and wanted to give it a fade effect using jQuery and when I made the code and applied it, nothing happened. </p>
  
  <p>So how do I get JavaScript and HTML to link in Sublime Text 2?</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Etch-A-Sketch&lt;/title&gt;
    &lt;link rel="stylesheet" type="text/css" href="etchASketch.css"&gt;
    &lt;script type="text/javascript" href="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"&gt;
    &lt;/script&gt;
    &lt;script type="text/javascript" src = "etchASketch.js"&gt;&lt;/script&gt;   
  &lt;/head&gt;
  </code></pre>