Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haquanq/fm-contact-form
Solution for frontendmentor.io challenge: contact-form
https://github.com/haquanq/fm-contact-form
css frontendmentor frontendmentor-challenge frontendmentor-solution html javascript js
Last synced: 9 days ago
JSON representation
Solution for frontendmentor.io challenge: contact-form
- Host: GitHub
- URL: https://github.com/haquanq/fm-contact-form
- Owner: haquanq
- License: mit
- Created: 2024-06-04T07:49:04.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-08T05:41:48.000Z (4 months ago)
- Last Synced: 2024-07-08T06:49:02.691Z (4 months ago)
- Topics: css, frontendmentor, frontendmentor-challenge, frontendmentor-solution, html, javascript, js
- Language: CSS
- Homepage: https://haquanq.github.io/fm-contact-form/
- Size: 306 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.### Challenge
- No access to design files, attempt pixel-perfect
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### Solution
- Built with: `HTML` `CSS` `JS`
- Mobile first workflow![](./.docs/design/desktop-design.jpg)
## Working in `fm-contact-form` repository
### Clone this project to your machine
Make sure you have Git installed in your system, open new terminal, run the following command:
```
git clone https://github.com/haquanq/fm-contact-form.git
```Then, run `npm install` to install all dependencies.
```
npm install
```### Development workflow
In terminal, run `npm run dev` to start development server:
```
npm run dev
```