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

https://github.com/rafaelhdsv/interactive-card-details-form

This fun project will be an excellent way to practice DOM manipulation and form validation while also putting your HTML and CSS skills to the test.
https://github.com/rafaelhdsv/interactive-card-details-form

Last synced: 3 months ago
JSON representation

This fun project will be an excellent way to practice DOM manipulation and form validation while also putting your HTML and CSS skills to the test.

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.

## Table of contents

- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)

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

- Desktop

![](images/desktop.png)

- Mobile

![](images/mobile.png)

### Links

- Solution URL: https://www.frontendmentor.io/solutions/interactive-card-details-form-html-css-javascript-yjYHSZ-NE1
- Live Site URL: https://interactive-card-details-form-rafael.netlify.app

## My process

### Built with

- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Javascript properties