Coder Social home page Coder Social logo

es6-playlist's Introduction

es6-playlist

Create your own personal music playlist!

Objective

Use ES6 methods to render music data to your browser

screenshot

demo

Prerequisites

To complete this project, students should have the following:

  • Intermediate understanding of HTML structures (divs, attributes, images...etc.).
  • Intermediate understanding of JavaScript ES6 and DOM (variables, event listeners, map, filter...etc.)

Your Challenge

Part I

To complete Part I, fulfill the following requirements:

  1. Set up your project file structure through the command line.
  2. Create the following:
  • HTML file
  • CSS file
  • JS file
  • data.js file
  1. link the data.js file with <script> tag above your app.js file
  2. Link all of your files correctly.

Part II Create Data

To complete Part II, fulfill the following requirements:

  1. Create an array of objects with the following properties in variable data:
  • artist
  • genre
  • song
  • album images

Example:

const data = [
  {
    artist: 'Drake',
    genre: 'Hip-Hop',
    song: 'In My Feelings',
    image: 'https://bit.ly/2CFcZnz'
  }
]
  1. Create 6 different music genres of your choice, with 6 different songs/artist in each genre
  2. All your data should be saved in data.js file

Part IV JS

  1. Access your music data by console.log(data);
  2. Use filter and map to render out your data

Part IV CSS

  1. Use flexbox to organize layout of your application

Strech Goals

  1. Make it more pretty
  2. Add more genres

Resources

filter

map

innerHTML

es6-playlist's People

Contributors

jaygiang avatar elijahrich1113 avatar

Watchers

James Cloos avatar

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.