This week's project is to use React components to build a page which shows new album and single releases.
A response from the Spotify APIis used to get a music ist that is displayed.
- How to write React components
- How to use
.map
to iterate over an array of data and mount many components - How to use React props to feed information to components
- How to structure React projects into small chunks
https://ninamansster-music-react.netlify.com/
- Fork/Clone this repo
- Clone this repo into your projects folder on your computer
- Open up VS Code
- In the terminal, run
cd code
to change into the code folder - Install the dependencies needed for react by running
npm install
- Run the react development server by running
npm start
I have followed a design screenshots as closely as possible. We've provided icons for the play, heart and more info icons when hovering on an album.
- Album title - 14px Helvetica #ffffff
- Artist name - 14px Helvetica #a0a0a0