Skip to content

Instantly share code, notes, and snippets.

@Jlevyd15
Last active May 20, 2018 16:39
Show Gist options
  • Save Jlevyd15/1f257f55217d930efdee315c88b9c20e to your computer and use it in GitHub Desktop.
Save Jlevyd15/1f257f55217d930efdee315c88b9c20e to your computer and use it in GitHub Desktop.
Interview Question

We will be building a Tabs UI, similar to Bootstrap Tabs

  • There should be 3 tabs, associated with vote_average returned by the API. (Low, Average, High)
    • Theses tabs should contain the movies with these vote ranges (Low: <= 6.0, Average: 6.1 > 7.9, High: >= 8)
  • Clicking on each of the tabs will display a list of movies associated with that vote range e.g. clicking on Low will only show movies with an average rating of 6.0 or lower.
  • The list should display the movie's id, vote_average, and release_date date properties
  • The list of movies should be sorted by most-recent release_date date first
  • At any given point, the UI should display which tab is active
  • When loading the UI for the first time, the first tab should be active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment