/smk-API

Primary LanguageJavaScript

Try to follow instructions below, otherwise you can fork this repo, run the code and go through it.

Instructions

  1. Install npm
  2. Go to https://github.com/facebook/create-react-app and create a new app. Follow the instructions from the link.
  3. In src create Image folder that will contain Image.js and image.css file.
  4. In Image.js create new Image component.
  5. 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