Coder Social home page Coder Social logo

cabify-frontend-challenge's Introduction

Cabify Frontend-UI challenge

For the coding challenge you have to create a business card builder in React. You'll be given some custom premade CSS, an HTML markup (which you can modify) and a React application created with facebook's create-react-app. To complete the challenge you need to create a form in react with the given HTML. You'll need to finish the following features in this order:

  1. Create a custom Select component for the country codes missing select input. The component has the following requirements:
  • Clean HTML structure with the proper CSS styles
    • It must show the currently selected option.
    • It must have a blank first option. Example in plain HTML: Empty option
    • It must allow a selected option by default Example in plain HTML: Empty option +34 +52
  1. The data from the form inputs must be reflected on the business card on the left. The data must be reflected in the card at the same time the user inputs data.
  2. The submit button must stay disabled until the user fills all the data.

Bonus points:

  • Keyboard navigation inside the Select component
  • Input validation
  • The data must be submitted properly (don't worry about the request itself, only that the data is being submitted correctly)

Note

  • You can modify the HTML at will
  • If you decide to use flags to enhance the select component you can get them from here

Running the app

yarn
yarn watch-css
yarn start

Now you can visit localhost:3000 from your browser.

Design files

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.