Try to follow instructions below, otherwise you can fork this repo, run the code and go through it.
- Install npm
- Go to https://github.com/facebook/create-react-app and create a new app. Follow the instructions from the link.
- In src create Image folder that will contain Image.js and image.css file.
- In Image.js create new Image component.
- Image component should contain the following functions:
getIDs() - should GET the array of all IDs
getArt(collectionID) - takes collectionID as parameter and GETs image url
getArtInfo(collectionID) - takes collectionID as parameter and GETs artist name