An open API service indexing awesome lists of open source software.

https://github.com/danielamichelle/interactive-card-details-form-main

Interactive card details form main from Frontend Mentor
https://github.com/danielamichelle/interactive-card-details-form-main

Last synced: about 1 year ago
JSON representation

Interactive card details form main from Frontend Mentor

Awesome Lists containing this project

README

          

# Frontend Mentor - Interactive card details form solution

This is a solution to the [Interactive card details form challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/interactive-card-details-form-XpS8cKZDWw). Frontend Mentor challenges help you improve your coding skills by building realistic projects.

### 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

### Screenshotls

![](./screenshot/desktop.png)
![](./screenshot/desktop-thank-you.png)
![](./screenshot/mobile.png)
![](./screenshot/mobile-thank-you.png)

### Links

- Solution URL: https://github.com/DanielaMichelle/Interactive-card-details-form-main
- Live Site URL: https://danielamichelle.github.io/Interactive-card-details-form-main/

### Built with

- Semantic HTML5 markup
- CSS custom properties
- JavaScript