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

https://github.com/marijazlatkova/newsletter-sign-up-with-success-message

Frontend Mentor | Newsletter Sign-Up Form - Build with TypeScript and Sass.
https://github.com/marijazlatkova/newsletter-sign-up-with-success-message

html reactjs sass typescript vitejs

Last synced: 2 months ago
JSON representation

Frontend Mentor | Newsletter Sign-Up Form - Build with TypeScript and Sass.

Awesome Lists containing this project

README

        

# Frontend Mentor - Newsletter Sign Up Form With Success Message

This is my 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). This project helped me improve my skills in creating responsive and accessible forms, implementing client-side validation, and managing success and error states effectively.

## Table of contents

- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshots](#screenshots)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [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

### Screenshots

#### Newsletter Sign-Up Form

![Newsletter Sign-Up Form](https://i.imgur.com/f1B8Bq1.png)

#### Success Message

![Success Message](https://i.imgur.com/o2sEECV.png)

### Links

- Solution URL: [Frontend Mentor](https://www.frontendmentor.io/solutions/newsletter-sign-up-form---build-with-typescript-and-sass-MtjC4gQiox)
- Live Site URL: [Live Site](https://newsletter-sign-up-with-success-message-ts.vercel.app)

## My process

### Built with

- Semantic HTML5 markup
- React
- TypeScript
- SASS
- Mobile-first workflow

### What I learned

This project helped me improve my skills in:

- Form validation with TypeScript
- Styling responsive components using SASS
- Managing success and error states in React

### Continued development

In the future, I plan to:

- Explore better ways to handle form state management in React
- Experiment with animations for transitions and success messages

### Useful resources

- [React TypeScript Cheatsheets](https://react-typescript-cheatsheet.netlify.app/) - A helpful guide for using TypeScript with React.
- [SASS Documentation](https://sass-lang.com/documentation) - Great for understanding advanced SASS features.

## Author

- Frontend Mentor - [@Marija Zlatkova](https://www.frontendmentor.io/profile/marijazlatkova)
- LinkedIn - [@Marija Zlatkova](https://www.linkedin.com/in/marijazlatkova)