Step 3

Delete everything except for App.js and index.js from the src folder. Moreover, update the index.js and App.js as follows:

// index.js
import ReactDOM from "react-dom";
import App from "./App";

ReactDOM.render(<App />, document.getElementById("root"));
// App.js
function App() {
  return <div>Hello React!</div>;
}

export default App;

Save the files. Notice the application running in the browser: