title: Difference between Localhost and opening html file
body: <p>What is the fundamental difference running a file using a server in localhost, and opening a file such as <code>file:///Users/$user_name/$your_directory/index.html</code>, <strong>assuming no backend</strong> is used, and it is only frontend and contains html/css/js <br>
   How does this also affect interactions with other server ie. ajax requests? <br>
  I am sorry if this is too broad, but I haven't found a solid answer to these underlying questions.</p>