title: how to include fabric.js file in script
body: <p>i want to try basic fabric  plugin  file ,when i copy code and run nothing is displayed on screen.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;script&gt;&lt;/script&gt;
      &lt;script src="js/jquery-1.9.1.js"&gt;&lt;/script&gt;
    &lt;script src="js/fabric.js"&gt;&lt;/script&gt;
    &lt;script&gt;
          $(document).ready(function(){
     var circle = new fabric.Circle({
    radius: 20, fill: 'green', left: 100, top: 100
  });
  var triangle = new fabric.Triangle({
    width: 20, height: 30, fill: 'blue', left: 50, top: 50
  });
  
  canvas.add(circle, triangle);
  });
  &lt;/script&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;div&gt;
      &lt;header&gt;
        &lt;h1&gt;canvas&lt;/h1&gt;
      &lt;/header&gt;
  
  
  
  
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>this is the code i have copied , but it is displayoing nothing .</p>
  
  <p><strong>EDIT::</strong></p>
  
  <p>i solved this . i was making mistaking i wans not creating  element inside body tag .</p>