Skip to content

Instantly share code, notes, and snippets.

@SeanPlusPlus
Last active September 20, 2023 17:49
Show Gist options
  • Save SeanPlusPlus/2cb3c6efbe9d2ef16013bf0d854cbfed to your computer and use it in GitHub Desktop.
Save SeanPlusPlus/2cb3c6efbe9d2ef16013bf0d854cbfed to your computer and use it in GitHub Desktop.
Front End Engineering Interview Question

Front End Engineering Interview Question

  1. Hit a JSON API, get list of movies, and display in <div>s
  2. Apply initial styling to the movie <div>s (border, margin, title)
  3. Add desktop styling (background colors, 2 column) and keep initial styling for mobile

Bonus

  • Add filtering by genre
  • Add sort by year / alphabetical

Solution


Live Demo

https://wigglyvelvetyscience.seanplusplus.repl.co/


JSON API

https://simplejson.vercel.app/api/awOkOFOw


API Shape

https://i.imgur.com/Wf4wA5P.png


Initial Styling

https://i.imgur.com/Pifrql3.png

initial


Desktop Styling

https://i.imgur.com/ZwDZqKC.png

desktop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment