To run and test the application, perform the following steps:
- Open a Terminal at the root of your project directory and run:
npm start
- Then, open a new tab in your web browser and go to:
http://localhost:1337/
- The console in your browser will display the following warning:
Warning: Failed prop type: "Toggle" expected children to contain exactly 2 React elements in Toggle (created by App) in App
- Clicking the button will toggle between the first two React elements while the third React element will be ignored