# β¨ Creative Contact Form
A modern, accessible, and visually soothing contact form built using **HTML**, **CSS**, and **JavaScript**. It features animated transitions, real-time validation, contextual feedback, and a nature-inspired color palette β designed to create a calming and intuitive user experience.
---
## πΏ Features
- π¨ **Soothing Color Palette**
Soft sage green, muted teal, warm gray, and gentle lavender to reduce eye strain.
- ποΈ **Smooth Animations**
Fade-in load, focus/hover transitions, and modal confirmation effects.
- β
**Real-Time Validation**
Validates name, email (via regex), and message fields as you type.
- π§ **Contextual Error Messages**
Provides specific, actionable feedback for each field.
- βΏ **Accessibility Built-In**
ARIA labels, high contrast, and reduced motion preference support.
- π **Success Modal (Frontend Only)**
Stylish popup confirms successful form submission β no backend required.
- π **Reset Functionality**
One click clears all fields and error messages instantly.
- π§ͺ **Robust Edge Case Handling**
Trims input, checks minimum lengths, and ensures valid email formats.
- π± **Responsive Design**
Fully responsive and optimized for desktop and mobile devices.
---
## π Project Structure
/contact-form/ β βββ index.html # Main HTML structure βββ style.css # Styles: layout, colors, animations βββ script.js # JS: validation logic and interactivity βββ README.md # Documentation (this file)
---
## π Getting Started
1. **Clone the Repository**
```bash
git clone https://github.com/adiyaan010205/Contact_Form.git
-
Open in Your Editor We recommend Visual Studio Code.
-
Preview in Browser Open
index.htmlin your browser to see the form in action.
-
Change Colors: Modify CSS variables in
:rootinsidestyle.css. -
Adjust Validation: Edit validation logic in
script.jsto suit your data requirements. -
Tweak Animations: Update keyframes or transition durations in
style.css.
- Semantic HTML5 form design
- CSS variables, transitions & animations
- Glassmorphism & subtle microinteractions
- JavaScript form validation & regex
- Accessibility (ARIA, reduced motion, contrast)
- Fully responsive design principles
Nature-inspired interface with animated validation feedback.
