title: How to add and use an external js file in Codeigniter?
body: <p>I am trying to add an external javascript file to Codeigniter application.</p>
  
  <p>I have placed my external js file in the "projectname/js/" folder.</p>
  
  <p>Below is the script tag src in my view page.
  src="http://localhost/needpcbcodeigniter/js/registration.js"></p>
  
  <p>But I am getting a "Not found" error for the js file.</p>