title: Node.js serve html files
body: <p>I have a directory structure like this : </p>
  
  <pre><code>    server
         code
           app.js
           web
             html
                 index.html
             css
                 index.css
             scripts
                 index.js
  </code></pre>
  
  <p>My app.js code is trying to serve the html file index.html but shows errors 
  this is the code : </p>
  
  <pre><code>    app.get('/web',function(req,res) 
      {
          res.sendFile('../web/html/index.html');
      })
  </code></pre>
  
  <p>What path to pass to sendFile() and make it work appropriately so that the script file and css are also found by the html file when it runs ? </p>
  
  <p>I'm new to node.js.</p>