Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/zun-liang/fem-interactive-card-details-form

Frontend Mentor Challenge Solution Interactive Card Details Form
https://github.com/zun-liang/fem-interactive-card-details-form

css3 html5 javascript reactjs

Last synced: 9 days ago
JSON representation

Frontend Mentor Challenge Solution Interactive Card Details Form

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)
- [Continued development](#continued-development)
- [Author](#author)

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



mobile preview
mobile complete preview




desktop preview




desktop complete preview

### Links

- Solution URL: [here](https://www.frontendmentor.io/solutions/interactive-card-details-form-using-html5-css3-and-reactjs-Y4i7ntwLIR)
- Live Site URL: [here](https://zun-liang.github.io/fem-interactive-card-details-form/)

## My process

### Built with

- HTML5
- CSS3
- Flexbox
- Mobile-first workflow
- React.js

### Continued development

- React hooks
- API

## Author

- Website - [Zun Liang](https://zunldev.com/)
- GitHub - [@zun-liang](https://github.com/zun-liang)
- Frontend Mentor - [@zun-liang](https://www.frontendmentor.io/profile/zun-liang)
- freeCodeCamp - [@zun-liang](https://www.freecodecamp.org/zun-liang)