Look at JS file

Report a typo

Create a new React project as described in the theoretical part. Go to src/App.js and change function App() {...} there to the following function:

function App() {
  return (
    <div className="App">
      <header className="App-header">
        <p>Have a nice day!</p>
      </header>
    </div>
  );
}

Then save the project and open it in a browser using npm start. Input a string from the page as your answer.

Enter a short text
___

Create a free account to access the full topic