Skip to content

This project is a credit card payment interface built using HTML, CSS, and JavaScript. The user interface simulates a real-world credit card payment form where users can input their card details. As users fill in the form fields, the details dynamically update on the visual representation of the card at the top of the form.

Notifications You must be signed in to change notification settings

DorukhanBekdur/Credit-Card-Payment-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit Card Payment UI

Credit-Card-UI

This project is a credit card payment interface built using HTML, CSS, and JavaScript. The user interface simulates a real-world credit card payment form where users can input their card details. As users fill in the form fields, the details dynamically update on the visual representation of the card at the top of the form.

Features

  • Dynamic Card Update: The credit card displayed on the UI dynamically updates as the user inputs their card number, cardholder name, expiration date, and CVV.
  • Card Flip Animation: When the user hovers over the CVV input field, the credit card flips to show the back side, prompting the user to enter their CVV.
  • Responsive Design: The design is responsive and works on various screen sizes, ensuring a smooth user experience across devices.

Technologies Used

  • HTML: The structure of the UI is built using HTML.
  • CSS: Styling and animations, including the card flip effect, are implemented using CSS.
  • JavaScript: JavaScript handles the dynamic updates of the card information and the interactivity of the card flip effect.

Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

You need a modern web browser installed on your computer.

Installation

  1. Clone the repo
    git clone https://github.com/DorukhanBekdur/Credit-Card-Payment-UI.git
    

2.Open index.html in your browser to view the application.

Usage

  • Fill in the card number, cardholder name, and expiration date in the respective input fields, and see the card details update in real-time.
  • Hover over the CVV input field to see the card flip and display the CVV input prompt.
  • Click the "Send" button after filling in all the details.

Project Structure

  • index.html : Contains the HTML structure of the payment form and card.
  • styles.css : Contains the styles for the payment form and the credit card, including animations.
  • script.js : Contains the JavaScript code for dynamically updating the card information and handling the card flip animation.

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have any suggestions that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

Fork the Project

  • Create your Feature Branch (git checkout -b feature/AmazingFeature)
  • Commit your Changes (git commit -m 'Add some AmazingFeature')
  • Push to the Branch (git push origin feature/AmazingFeature)
  • Open a Pull Request

Contact

Dorukhan Bekdur - [email protected]

Project Link: https://github.com/DorukhanBekdur/Credit-Card-Payment-UI

About

This project is a credit card payment interface built using HTML, CSS, and JavaScript. The user interface simulates a real-world credit card payment form where users can input their card details. As users fill in the form fields, the details dynamically update on the visual representation of the card at the top of the form.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published