Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudydaiyz/contact-form-main
Frontend mentor contact form challenge
https://github.com/cloudydaiyz/contact-form-main
css frontend-mentor html javascript
Last synced: about 1 month ago
JSON representation
Frontend mentor contact form challenge
- Host: GitHub
- URL: https://github.com/cloudydaiyz/contact-form-main
- Owner: cloudydaiyz
- Created: 2024-06-29T13:47:43.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-29T14:15:54.000Z (7 months ago)
- Last Synced: 2024-11-09T00:12:30.534Z (3 months ago)
- Topics: css, frontend-mentor, html, javascript
- Language: CSS
- Homepage: http://github.cloudydaiyz.com/contact-form-main/
- Size: 392 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - Contact form solution
This is a solution to the [Contact form challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/contact-form--G-hYlqKJj). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [Useful resources](#useful-resources)
- [Author](#author)## Overview
### The challenge
Users should be able to:
- Complete the form and see a success toast message upon successful submission
- Receive form validation messages if:
- A required field has been missed
- The email address is not formatted correctly
- Complete the form only using their keyboard
- Have inputs, error messages, and the success message announced on their screen reader
- View the optimal layout for the interface depending on their device's screen size
- See hover and focus states for all interactive elements on the page### Screenshot
![Completed challenge](./assets/images/screenshot.png)
### Links
- Solution URL: [solution URL here](https://www.frontendmentor.io/solutions/contact-form-uRGJxKEebh)
- Live Site URL: [live site URL here](https://github.cloudydaiyz.com/contact-form-main/)## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Desktop-first workflow### What I learned
I learned more about the `` HTML element through completing this project, and what it means to do form validation. It was a bit trickier than I thought at first, as HTML5 comes with default validation that I realized that I didn't want to use for this solution. After a bit of research, this challenge became more straightforward.
### Continued development
If I were to continue this, I would:
- add functionality to submit responses to the specified email
- allow for multiple responses and keep track of response history
- try adding a dropdown for one of the options### Useful resources
- [HTML Constraint Validation API](https://developer.mozilla.org/en-US/docs/Web/HTML/Constraint_validation) - Although I didn't use this for my final solution, this could be a helpful resource for when I'm feeling lazier making HTML forms.
## Author
- Website - [Kylan Duncan](https://www.cloudydaiyz.com)
- Frontend Mentor - [@cloudydaiyz](https://www.frontendmentor.io/profile/cloudydaiyz)