Skip to content

Commit fc022b4

Browse files
committed
signupFM ADDED
1 parent a2cdbf6 commit fc022b4

File tree

15 files changed

+460
-0
lines changed

15 files changed

+460
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Avoid accidental Sketch file upload
2+
###############################################
3+
## Please do not remove line 5 - thanks! 🙂 ##
4+
###############################################
5+
*.sketch
6+
7+
# Avoid accidental XD or Figma upload if you convert the design file
8+
#######################################################
9+
## Please do not remove lines 11 and 12 - thanks! 🙂 ##
10+
#######################################################
11+
*.xd
12+
*.fig
13+
14+
# Avoid your project being littered with annoying .DS_Store files!
15+
.DS_Store

signup-form-component-FM/README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Frontend Mentor - Intro component with sign up form solution
2+
3+
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.
4+
5+
## Table of contents
6+
7+
- [Overview](#overview)
8+
- [The challenge](#the-challenge)
9+
- [Screenshot](#screenshot)
10+
- [Links](#links)
11+
- [My process](#my-process)
12+
- [Built with](#built-with)
13+
- [What I learned](#what-i-learned)
14+
- [Useful resources](#useful-resources)
15+
16+
**Note: Delete this note and update the table of contents based on what sections you keep.**
17+
18+
## Overview
19+
20+
### The challenge
21+
22+
Users should be able to:
23+
24+
- View the optimal layout for the site depending on their device's screen size (done)
25+
- See hover states for all interactive elements on the page (done)
26+
- Receive an error message when the `form` is submitted if: (done)
27+
- Any `input` field is empty. The message for this error should say _"[Field Name] cannot be empty"_
28+
- The email address is not formatted correctly (i.e. a correct email address should have this structure: `name@host.tld`). The message for this error should say _"Looks like this is not an email"_
29+
30+
### Screenshot
31+
32+
![](./design/screenshot.JPG)
33+
34+
### Links
35+
36+
- Solution URL: [Add solution URL here](https://your-solution-url.com)
37+
- Live Site URL: [Add live site URL here](https://your-live-site-url.com)
38+
39+
## My process
40+
41+
### Built with
42+
43+
- Semantic HTML5 markup
44+
- CSS custom properties
45+
- Flexbox
46+
47+
### What I learned
48+
49+
This challenge was the first where I wrote any of JavaScript, and eventually after one hour of research I also learned how to change `placeholder` text of `input` elements using JS.
50+
51+
Cheers!
52+
53+
### Useful resources
54+
55+
- [Resource 1](https://www.youtube.com/watch?v=bFOuUypjkSM) - This helped me in JavaScript, as I am a total beginner at it.I really liked it because it was simple and I learned how JS actually works.
56+
57+
- [Resource 2](https://stackoverflow.com/questions/42415624/adding-placeholder-to-input-field-by-name) - This helped me in JavaScript, in replacing `placeholder` text when `email` input is empty.
88.5 KB
Loading
78 KB
Loading
48 KB
Loading
41.8 KB
Loading
75.7 KB
Loading
18.9 KB
Loading
12 KB
Loading
1.04 KB
Loading

0 commit comments

Comments
 (0)