This project demonstrates a clean and responsive contact form built using HTML5 and modern CSS. It includes built-in HTML validation and visual feedback for input states, ensuring both functionality and user-friendliness.
It was built entirely with HTML and CSS as part of the freeCodeCamp.org CSS course.
This project consists of a contact form with three key input fields: name, email, and message. The form uses semantic HTML for accessibility and is styled using custom CSS variables for maintainability and visual appeal.
The design includes hover, focus, valid, and invalid visual states for inputs and a responsive layout that works across different screen sizes. The form submits data to httpbin.org for testing form handling.
- Responsive design that adapts to various screen sizes
- Built-in HTML5 validation with visual feedback
- Styled form inputs and buttons with CSS variables
- Modern gradient background and shadow effects
- Focus and active state accessibility styling
- Semantic HTML structure
- How to use semantic HTML elements to structure forms
- Styling input states with
:valid
,:invalid
,:focus
- Responsive sizing using
clamp()
andmax-width
- Implementing form submission to external testing endpoints (e.g.,
httpbin.org
) - Creating a visually appealing layout using gradients and shadows
- HTML5
- CSS3
- Git
- GitHub
- Netlify
- Clone the repository
- Open
index.html
in your browser
Or you can check out the 👉 live website here
Created by Elmar Chavez
🗓️ Month/Year: May 2025
📚 Journey: 2nd month of learning frontend web development.