title: Calling a .js file (react) from index.html
body: <p>Im having difficulty to call my js script from my index.html file.
  I'm guessing it's because I am not calling it like I should but I can't find the solution online.</p>
  
  <p>Basically I have a index.html file</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
    &lt;html&gt;
      &lt;head&gt;
        &lt;meta charset="utf-8"&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
        &lt;div id="root"&gt;&lt;/div&gt;
          &lt;h1&gt;html&lt;/h1&gt;
          &lt;script src="script.js"&gt;&lt;/script&gt;
          &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>And also a script.js file in the same folder</p>
  
  <pre><code>import React from 'react';
  import ReactDOM from 'react-dom';
  
  ReactDOM.render(
  
      &lt;h1&gt;This is my script&lt;/h1&gt;
  
  );
  </code></pre>
  
  <p>My goal here is to run my js file which will then run my entire react app. Thanks a lot for any help you can give me.</p>
  
  <p>(New to React, trying to run my app locally without having to use node.js)</p>