Wild Code School quest with React.js
Create a new React app named my-travels using create-react-app
Create a Travel component to display the following properties:destinationcountryphotodistance
Display this component twice with different values.
Add a Travels component that will contain an array of 5 trips and display the list by reusing the Travel component.
-
For testing purposes, create a new folder and clone the repository into it, run npm install and start the application
-
Two different trips appear as a result of running the application
-
In the correct directory you have created a Travel.js file
-
The displayed values must be passed through attributes from the App component
-
The application must display multiple trips
-
Travel data must be stored in an array
-
The display must result from a map method called on the array