Task for lab 2
1. Basing on the first lab, create your first component using this guide and the task below. https://handsonreact.com/docs/labs/js/04-YourFirstComponent
Component "City guide"
1.1. Pick any city/town you want.
1.2. Create the component that contains name of the city, population, short description and photo from the city. The design of the component is up to you.
2. Create JSON file "places-to-visit.json" which contains the information about the places in the city that are worth to visit using this guide https://handsonreact.com/docs/labs/js/05-CreatingDataStructures
Fields of the file can be: name of the place, description, photo, coordinates - whatever you want.
Load the data into your component (as a plain text, for now).
Остання зміна: п'ятниця 25 березня 2022 09:28