This is a simple credit card validator application created by ODUKOYA ABDULLAHI ADEMOLA. The application allows users to validate credit card numbers along with expiration month and year.
The application provides the following features:
- Validates credit card numbers using the Luhn algorithm.
- Validates expiration month and year.
- Returns whether the credit card is valid or not.
- Provides a message indicating the validity status of the credit card.
To use the application:
- Enter the credit card number, expiration month, and expiration year in the provided fields.
- Click on the "Validate" button to validate the credit card information.
- The result will be displayed, indicating whether the credit card is valid or not.
- Go (Golang) programming language for the backend logic.
- HTML, CSS, and JavaScript for the frontend user interface.
- Fetch API for making asynchronous requests to the server.
- Luhn algorithm for credit card number validation.
To set up the application locally:
- Clone this repository to your local machine.
- Ensure you have Go installed on your machine.
- Run
go run main.go
to start the server. - Open the
index.html
file in your browser to access the frontend interface.
Contributions to the project are welcome. Feel free to submit bug reports, feature requests, or pull requests.
- ODUKOYA ABDULLAHI ADEMOLA
This project is licensed under the MIT License.