Music releases assignment to practice the basics of React, mainly components and props. The task was to display images and details of latest music releases from the Spotify API and style the site as close as possible to the provided design.
I started the project by creating all the needed componenets. Next up was trying to get the props to pass to the right components - this I had probably the most issues with, so many errors kept occurring. I still clearly have some difficulties in understanding JS methods and writing the correct syntaxes for example for the .map(). But eventually I made it work!
Unfortunately I ran out of time this week and decided to deploy an incomplete version. The thing that doesn't work in my site correctly is the comma separation between the artists. It currently displays the same artist twice with the comma instead of showing the other artist(s) as well. Here I think my lack of knowledge with iterating over arrays comes in - I'm really not sure how to target both of the artists and how to display them. I tried a few different options but this was the only one that at least somehow made the idea work. I'll come back to it later.