Sainath-Kale / Music-Playlist

A simple Music Playlist

Home Page:https://skplaylist.ccbp.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The goal of this coding exam is to quickly get you off the ground with Lists and Keys

Refer to the image below:



Design Files

Click to view

Set Up Instructions

Click to view
  • Download dependencies by running npm install
  • Start up the app using npm start

Completion Instructions

Functionality to be added

The app must have the following functionalities

  • Initially, the list of given track items should be displayed with a delete button for each track item

  • When a non-empty value with key name from the initialTracksList provided in the search input then display the track items which includes the search input irrespective of case

  • When the delete button of a track item is clicked, the respective track item should be deleted from the list of track items

  • When a non-empty value is provided in the search input element, and no track item includes the value given in the search input, then No Songs Found View should be displayed

  • When all track items are deleted, then No Songs Found View should be displayed

  • The App is provided with initialTracksList. It consists of a list of trackItem objects with the following properties in each trackItem object

    Key Data Type
    id String
    imageUrl String
    name String
    genre String
    duration String

Important Note

Click to view

The following instructions are required for the tests to pass

  • The imageUrl in each track item should have alt as track
  • The delete button in the track item should have the data-testid as delete

Resources

Image URLs
Colors
Hex: #152850
Hex: #cbd5e1
Hex: #ffffff
Hex: #3b82f6

Font-families
  • Roboto

Things to Keep in Mind

  • All components you implement should go in the src/components directory.
  • Don't change the component folder names as those are the files being imported into the tests.

About

A simple Music Playlist

https://skplaylist.ccbp.tech


Languages

Language:JavaScript 76.7%Language:HTML 20.7%Language:CSS 2.5%