Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haquanq/fm-newsletter-sign-up-with-success-message
Solution for frontendmentor.io challenge: newsletter-sign-up-with-success-message
https://github.com/haquanq/fm-newsletter-sign-up-with-success-message
css frontendmentor frontendmentor-challenge frontendmentor-solution html javascript js
Last synced: 9 days ago
JSON representation
Solution for frontendmentor.io challenge: newsletter-sign-up-with-success-message
- Host: GitHub
- URL: https://github.com/haquanq/fm-newsletter-sign-up-with-success-message
- Owner: haquanq
- License: mit
- Created: 2024-05-28T07:45:52.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T13:19:18.000Z (4 months ago)
- Last Synced: 2024-07-11T14:57:36.700Z (4 months ago)
- Topics: css, frontendmentor, frontendmentor-challenge, frontendmentor-solution, html, javascript, js
- Language: CSS
- Homepage: https://haquanq.github.io/fm-newsletter-sign-up-with-success-message/
- Size: 416 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 - Newsletter sign-up form with success message solution
This is a solution to the [Newsletter sign-up form with success message challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/newsletter-signup-form-with-success-message-3FC1AZbNrv).
Frontend Mentor challenges help you improve your coding skills by building realistic projects.### The challenge
- No access to design files, attemp pixel-perfect
Users should be able to:
- Add their email and submit the form
- See a success message with their email after successfully submitting the form
- See form validation messages if:
- The field is left empty
- The email address is not formatted correctly
- 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-newsletter-sign-up-with-success-message` repository
Make sure you have Git installed in your system, open new terminal, run the following command:
```
git clone https://github.com/haquanq/fm-newsletter-sign-up-with-success-message.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
```