Skip to content

this is solution for Interactive card details form solution from frontend mentor

Notifications You must be signed in to change notification settings

lenez12/interactive-card-details-form-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Interactive card details form solution

This is a solution to the Interactive card details form challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Note: Delete this note and update the table of contents based on what sections you keep.

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
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • JQuery
  • JQuery Masking Input

What I learned

what I learned in making this challenge is:

  1. using css grid to create template area
  2. using css grid and media query to create responsive mobile
  3. manipulate DOM using javascript
  4. how create a form-control from the stracth
  5. create validation with javascript
  6. adding transition on some component

Continued development

  1. In the future I will make a good css class naming name
  2. add animation and transition when hover and activate

Useful resources

Author

About

this is solution for Interactive card details form solution from frontend mentor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published