Step 6

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

function App() {
  return <div>Hello React!</div>;
}

export default App;

Finally, update the index.js file.

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

ReactDOM.render(<App />, document.getElementById("root"));

Notice the application running in the browser: