title: How to add JS/CSS files to Joomla modules?
body: <p>I am starting out with Joomla and am writing a simple Joomla module. I am using some custom CSS and JS in my module. Now when I distribute this module I need my JS/CSS files to go with the ZIP. I have added my files in my module ZIP file.</p>
  
  <p>This is what i need to know -</p>
  
  <ol>
  <li><p>How do I refer to these CSS/JS files in my module so that even if I distribute the module as a zip i would not have to send the css/js files separately?</p></li>
  <li><p>I tried looking at different solutions including 
  <a href="http://www.howtojoomla.net/how-tos/development/how-to-add-cssjavascript-to-your-joomla-extension" rel="noreferrer">http://www.howtojoomla.net/how-tos/development/how-to-add-cssjavascript-to-your-joomla-extension</a> But I was not able to figure out what the URL for the JS/CSS file should be?</p></li>
  </ol>
  
  <p>I am using Joomla 1.7 hosted on a cloud hosting site.</p>
  
  <p>Thanks</p>