title: Flask Application - How to link a javascript file to website
body: <p>I am having some trouble getting started with using javascript files on my website (A Flask application). I start the website by running run.py which looks like this:</p>
  
  <pre><code>#!flask/bin/python
  from app import app
  app.run(debug=True)
  </code></pre>
  
  <p>In my html page I have the following code which gives a 404 error:</p>
  
  <p><img src="https://i.stack.imgur.com/dwB1z.png" alt="404 error"></p>
  
  <p>Error message:</p>
  
  <p><img src="https://i.stack.imgur.com/oP24X.png" alt="error message"></p>
  
  <p>My file structure looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/DU9Hc.png" alt="file structure"></p>
  
  <p>Any hints to where I'm going wrong?</p>