Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```