A responsive website built with HTML, CSS, and JavaScript with a Flask backend to handle contact form submissions.
- Responsive Design: Mobile-friendly layout
- Dark Mode: Toggle between light and dark themes
- Contact Form: Save messages to a JSON database
- Form Validation: Email and message validation
- Smooth Scrolling: Navigation with smooth scroll behavior
- Clone the repository:
git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name- Install Python dependencies:
pip install -r requirements.txt- Start the Flask server:
python app.py- Open your browser and go to:
http://localhost:5000
- The application will be available at the home page
├── index.html # Main HTML file
├── style.css # Stylesheet
├── style.js # Frontend JavaScript
├── app.py # Flask backend server
├── messages.json # Stored contact messages
├── requirements.txt # Python dependencies
└── README.md # This file
- Fill in the contact form with your email and message
- Click "Send Message"
- The form validates your input
- If valid, the data is sent to the Flask backend via API
- The message is saved to
messages.json - You get a success confirmation
- Frontend: HTML5, CSS3, JavaScript (Vanilla)
- Backend: Flask (Python)
- Database: JSON file storage
MIT License - Feel free to use this project for your own purposes.