title: Local JQuery and JQuery mobile files not working on localhost
body: <p>I'm trying to my assignment which needs me to use JQuery and JQuery Mobile.</p>
  
  <p>I'm using nginx so my PC acts as a webserver.</p>
  
  <p>When I try to view the html on Chrome, the "data-role" property doesn't work for some reason.</p>
  
  <p>If i use the CDN hosted JQuery, then it works. but not my local JQuery files which is strange. I've used different versions as well. </p>
  
  <p>Furthermore, my console doesn't show me any errors. </p>
  
  <p>Below is the code to how I'm linking the JQuery files.</p>
  
  <p>and this is the output I'm getting </p>
  
  <p><a href="https://i.stack.imgur.com/nGjy5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nGjy5.png" alt="out put"></a></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  
      &lt;head&gt;
      &lt;title&gt;Chicken Logger&lt;/title&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
  
      &lt;link rel="stylesheet" href="css/ChickenLogs.css"&gt;
      &lt;link type="text/css" href="css/jquery.mobile.css"&gt;
      &lt;script src="js/jquery.js"&gt;&lt;/script&gt;
      &lt;script src=js/jquery.mobile.min.js&gt;&lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div data-role="header"&gt;
  
    &lt;h3&gt; Chicken Logger &lt;/h3&gt;
  
  &lt;/div&gt;
      ...content goes here
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Why doesn't it work?</p>
  
  <p>UPDATE 1:</p>
  
  <p>My university gave us 3 different jquery files named "jquery.js", "jquery.mobile.js" and "jquery.css". I've put these in my js folder and when I link them, they don't work. But if I take them out of the js folder and put them in the root folder, they work. </p>
  
  <p>So I'm just thinking my relative path is wrong? </p>
  
  <p>I've seen some other similar questions but none of them have worked for me too.</p>
  
  <p>UPDATE 2:</p>
  
  <p><a href="https://i.stack.imgur.com/TgFaJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TgFaJ.png" alt="folder structer"></a></p>