Git Product home page Git Product logo

coding-exercise's Introduction

Coding Exercise for Front-End Developer candidates

Introduction

This exercise is intended to help the hiring team at Mass Relevance to gauge your level of front-end coding experience (HTML, CSS & JavaScript).

You should budget about an hour of actual coding time to complete the project. We realize that's a tight constraint, but we're trying to be respectful of your time while still allowing you to produce enough code for us to make a fair assessment of your skills. Try to ensure that the finished product represents your coding abilities, although you're not necessarily expected to fully finish in an hour. We'd much rather review high-quality but incomplete work rather than rushed, but complete work.

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

and a PSD to use as a mockup.

Requirements

You will be building an "Awesome Bands" leaderboard, which is a list of 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.).

When you're finished, please send your work your Mass Relevance dev contact as a .zip file or (preferably) a link to a public repo on GitHub.

Questions?

Please use your best judgment to interpret the requirements above. However, if you're stuck with a question(s), feel free to email your Mass Relevance dev contact. There are no bad questions (other than, "What does JavaScript mean?").

coding-exercise's People

Contributors

troywarr avatar johnhok avatar

Watchers

James Cloos avatar  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.