Code Monkey home page Code Monkey logo

movie-awards-2021's Introduction

DailyPay Front End Engineering Challenge

To run

  1. Run yarn backend to start the server and get access to API methods.
  2. Run yarn && yarn start in the working directory to start the frontend application

The goal of this challenge is to build out a "Movie Awards 2021" interactive ballot. Please clone this repository and submit it once you are finished.

Here are the rules of this challenge.. you must:

  1. Build an application that displays a list of categories and nominees. Please follow the design in the wireframe below. Run yarn start to start the application.
  2. Run yarn backend to start the server and get access to API methods such as getBallotData. Use the React useEffect hook to fetch the ballot data from the provided API, and save it to state by using the React useState hook. useEffect Documentation Fetch API Documentation useState Documentation
  3. When you click on a nominee, we should highlight the nominee card and save the selections using the React useState hook. A user can only select one nominee per category, and we should be able to see all of their selections highlighted. The selected nominee card should follow the style guides below.
  4. Make the layout responsive with at least one breakpoint (your choice as to how it looks on a smaller screen width).
  5. Once the user is finished making their selections, they can click on a submit button that displays a results modal screen. A user can dismiss the modal by clicking on the close button (follow the wireframe below).

Requirements:

  1. All navigation should happen in the same page
  2. Demonstrate use of React hooks
  3. Demonstrate knowledge of component modularization
  4. Utilize CSS to create the layout of the page. Add hover styles to the items the user is interacting with.
  5. Create components as you feel is best suited for your solution

Ballot Wireframe Ballot Success Modal Wireframe

Bonuses

  1. Make it pretty
  2. Make it accessible
  3. Add unit tests

Styling Guidelines

  • Use the "Roboto" Google font

  • Use the following colors

    • Page background: - #0D2436 #0D2436
    • Default/normal font color: #FFFFFF #FFFFFF
    • Hover font color: #CCCCCC #CCCCCC
      • Nominee card / submit button background: #009B86 #009B86
    • Selected Nominee card: #099BB3 #099BB3
    • Nominee card background hover / submit button background hover: #34AC9C #34AC9C

    Good luck and if you have questions, please reach out to us at [email protected]

movie-awards-2021's People

Watchers

Jason Deng 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.