Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/haquanq/fm-intro-component-with-signup
- Owner: haquanq
- License: mit
- Created: 2024-07-27T10:19:08.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-27T10:23:26.000Z (4 months ago)
- Last Synced: 2024-07-27T11:35:18.936Z (4 months ago)
- Topics: accessibility, css, frontendmentor, frontendmentor-challenge, frontendmentor-solution, html, javascript, js
- Language: CSS
- Homepage: https://haquanq.github.io/fm-intro-component-with-signup/
- Size: 270 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 - 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
```