Vacation Spots Using Props and Map
Feel free to customize the given the array:
let vacationSpots = [
{
place: "Meridian, Idaho",
price: 40,
timeToGo: "Spring"
},{
place: "Cancun",
price: 900,
timeToGo: "Winter"
},{
place: "China",
price: 1200,
timeToGo: "Fall"
},{
place: "Russia",
price: 1100,
timeToGo: "Summer"
},{
place: "Lebanon",
price: 400,
timeToGo: "Spring"
}
]
Use .map() and props to create multiple vacation