https://github.com/subhajitroycode/newsletter-sign-up-with-success-message
This is a solution of frontend mentor challenge.
https://github.com/subhajitroycode/newsletter-sign-up-with-success-message
css frontend frontend-mentor frontendmentor-challenge frontendmentor-solution newsletter-signup newsletter-subscriptions reactjs
Last synced: 8 months ago
JSON representation
This is a solution of frontend mentor challenge.
- Host: GitHub
- URL: https://github.com/subhajitroycode/newsletter-sign-up-with-success-message
- Owner: subhajitroycode
- Created: 2024-07-31T15:19:30.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-31T15:23:15.000Z (over 1 year ago)
- Last Synced: 2024-08-01T19:39:01.735Z (over 1 year ago)
- Topics: css, frontend, frontend-mentor, frontendmentor-challenge, frontendmentor-solution, newsletter-signup, newsletter-subscriptions, reactjs
- Language: JavaScript
- Homepage: https://newsletter-sign-up-subhajitroycode.netlify.app/
- Size: 506 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
## Table of contents
- [Frontend Mentor - Newsletter sign-up form with success message solution](#frontend-mentor---newsletter-sign-up-form-with-success-message-solution)
- [Table of contents](#table-of-contents)
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Useful resources](#useful-resources)
- [Author](#author)
## Overview
### The challenge
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
### Screenshot


### Links
- Live Site URL: [Click here](https://your-live-site-url.com)
## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- [React](https://reactjs.org/) - JS library
### What I learned
I get to learn about picture tag and how to use it, use new CSS media query syntax and useref hook to get the input value.
```html

```
```css
@media (width <= 650px) {
body {
display: block;
}
}
```
### Useful resources
- [Picture tag](https://www.w3schools.com/tags/tag_picture.asp) - This helped me for picture tag.
- [Media Query Syntax](https://css-tricks.com/the-new-css-media-query-range-syntax/) - This is an amazing article which helped me finally understand the new media query syntax. I'd recommend it to anyone still learning this concept.
## Author
- Frontend Mentor - [@subhajitroycode](https://www.frontendmentor.io/profile/subhajitroycode)
- Twitter - [@subhajitroycode](https://www.twitter.com/subhajitroycode)
- LinkedIn - [@subhajitroycode](https://www.linkedin.com/in/subhajitroycode)