Skip to content

ssteele/awesome-bands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Bands

Requirements

You will be building an "Awesome Bands" leaderboard, which is a list of the top five awesome band names paired with the number of times that those bands have been mentioned on Twitter.

For simplicity's sake, we've stubbed out an API interface and polling functionality within a library (see lib.js). The library provides a Poller() class that allows you to create a poller, setting some options and providing a callback function that will be called when the poller returns data. It also has a .start() method that will start the poller.

Upon each poll, the API will send an array of objects to your callback function. Each object will contain a band name and its associated count, sorted descending by count.

The leaderboard that you build should satisfy these basic requirements:

  • Visually adhere to the provided PSD.
  • Every 15 seconds, update the leaderboard to show the latest band names and counts, sorted descending by count.
  • Bonus: Animate the leaderboard update in some way (fade/dissolve, sliding, etc.).

We've created a few starter files that you should flesh out:

and a PSD to use as a mockup.