title: facing issue in react js showing "Cannot use import statement outside a module"
body: <pre><code>import React from 'react';
  import ReactDOM from 'react-dom';
  import './Navigation';
  
  ReactDOM.render(
    &lt;React.StrictMode&gt;
      &lt;Navigation/&gt;
    &lt;/React.StrictMode&gt;,
    document.getElementById('root')
  );
  </code></pre>
  <p>showing syntax error Cannot use import statement outside a module&quot;</p>