Giter Club home page Giter Club logo

project-music-releases's Introduction

Music Releases

I built this project together with a team member. We did a music releases site using React components which shows new album and single releases.

The problem

The main task was to build a page using React components which shows new album and single releases from downloaded JSON response from Spotify's API.

The first thing we did was to analyze the given design and think about how to structure the React components. After we had thought out a structure we proceeded to use the JSON response by using the .map() method to mount an 'Album' component for each album and an 'Artist' component for each artist. We also created Javascript logic so that if there are only two artists you show a "&" between them, and if there are more than two artists, you show "," between all artists except the last two which should have "&".

With the React components in place, we proceeded to add general style according to the given design. We made the page responsive using media queries and Flexbox for the album cards. Furthermore, when hovering over an album we added an effect that made the album cover image go darker and display three icons on top of it with less opacity. Also, when hovering over one of these icons it grew and showed full opacity.

If we had more time we would have tried to add a sidebar with playlists for the user to choose from.

View it live

View the deployed project here: https://dazzling-aryabhata-b33e50.netlify.app/

project-music-releases's People

Contributors

dependabot[bot] avatar isabellam5 avatar emolsz avatar puj avatar idlefingers avatar jenniedalgren avatar

Forkers

ellefrankenberg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.