π© contact-form
contact-form is a responsive web-based application that allows users to send messages or inquiries through a clean and user-friendly interface. Built with HTML, CSS, and JavaScript, it provides form validation, error handling, and a modern design suitable for personal portfolios or business websites.
π§ Description
Contact Form is a simple yet functional project developed to demonstrate how to collect and validate user input using JavaScript. The form includes fields for the userβs name, email, subject, and message. Before submission, each field is validated to ensure proper input format β enhancing both user experience and data quality.
This project is built without any external libraries or frameworks, keeping the design lightweight, fast, and easy to integrate into any website. The goal is to showcase core front-end development skills such as form validation, responsive layout design, and DOM manipulation.
β¨ Features
π¬ Send Messages: Users can easily fill out and submit a contact form.
β Form Validation: Ensures valid email format and prevents empty submissions.
π¬ User Feedback: Displays success and error messages dynamically.
π¨ Modern UI: Clean and minimalist design for easy customization.
π± Responsive Design: Works seamlessly across desktops, tablets, and mobile devices.
β‘ Lightweight: Built entirely with HTML, CSS, and JavaScript β no frameworks required.
π Live Demo https://Abdulrahmanvisit.github.io/contact-form/
π οΈ Technologies Used
HTML5 β For structure and form elements
CSS3 β For layout, animations, and styling
JavaScript (Vanilla) β For validation and form interactivity
π‘ How to Use
Open the Contact Form in your browser.
Fill in all required fields: name, email, subject, and message.
Click the Submit button to send the message.
If any field is invalid, an error message will appear prompting corrections.
After successful validation, a confirmation message appears on the screen.
π Installation (Run Locally)
Follow these steps to run contact-form on your local device:
git clone https://github.com/Abdulrahmanvisit/contact-form.git
cd contact-form
π§ Learning Objectives
This project helps beginners learn and practice:
JavaScript form validation and DOM event handling
Responsive web design using CSS
Creating reusable UI components
Enhancing accessibility and user experience
π€ Contributing
Contributions are always welcome!
If youβd like to improve or extend this project:
Fork the repository
Create a new branch (git checkout -b feature-name)
Commit your changes (git commit -m "Add new feature")
Push to your branch (git push origin feature-name)
Open a Pull Request
π¨βπ» Author
Abdurrahman Bello
πΌ Front-End Developer
π GitHub Profile