Skip to content

superpooperxxx/payment-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive card details form

Table of contents

Overview

The challenge

Users should be able to:

  • Fill in the form and see the card details update in real-time
  • Receive error messages when the form is submitted if:
    • Any input field is empty
    • The card number, expiry date, or CVC fields are in the wrong format
  • View the optimal layout depending on their device's screen size
  • See hover, active, and focus states for interactive elements on the page

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS3: Grid, Flexbox
  • Preprocessors: Sass
  • Mobile-first workflow
  • React

What I learned

Practiced with creating a brand new React project and combine it with Sass preprocessor. Also used classnames package for adding conditional classes to components and gh-pages to deploy to Github from a command line.

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published