Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/haquanq/fm-intro-component-with-signup

Solution for frontendmentor.io challenge: intro-component-with-signup
https://github.com/haquanq/fm-intro-component-with-signup

accessibility css frontendmentor frontendmentor-challenge frontendmentor-solution html javascript js

Last synced: 9 days ago
JSON representation

Solution for frontendmentor.io challenge: intro-component-with-signup

Awesome Lists containing this project

README

        

# Frontend Mentor - Intro component with sign up form solution

This is a solution to the [Intro component with sign up form challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/intro-component-with-signup-form-5cf91bd49edda32581d28fd1). Frontend Mentor challenges help you improve your coding skills by building realistic projects.

## The challenge

Users should be able to:

- View the optimal layout for the site depending on their device's screen size
- See hover states for all interactive elements on the page
- Receive an error message when the `form` is submitted if:
- Any `input` field is empty. The message for this error should say _"[Field Name] cannot be empty"_
- The email address is not formatted correctly (i.e. a correct email address should have this structure: `[email protected]`). The message for this error should say _"Looks like this is not an email"_

## Solution

- Mobile-first workflow
- Accessible form, inputs
- Built with: `HTML` `CSS` `JS`

![](./.docs/design/desktop-design.jpg)

# Working in `fm-intro-component-with-signup` repository

## Clone this project to your machine

Make sure you have Git & NodeJS installed in your system, open new terminal, run the following command:

```
git clone https://github.com/haquanq/fm-intro-component-with-signup.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
```