Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/smart-ace-designs/astro-newsletter-sign-up

A solution to the "Newsletter Sign-Up Form" challenge on Frontend Mentor using Astro and Tailwind CSS.
https://github.com/smart-ace-designs/astro-newsletter-sign-up

astro frontendmentor-challenge

Last synced: about 1 month ago
JSON representation

A solution to the "Newsletter Sign-Up Form" challenge on Frontend Mentor using Astro and Tailwind CSS.

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

- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [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
![newsletter-sign-up](https://github.com/user-attachments/assets/aa578f5d-0ec2-4700-8c6c-c198748621f3)

### Links

- Solution URL: [GitHub](https://github.com/Smart-Ace-Designs/Astro-Newsletter-Sign-Up)
- Live Site URL: [Netlify](https://smartacedesigns-astro-newsletter-su.netlify.app/)

## My process

### Built with

- Astro
- Astro [Space](https://github.com/Smart-Ace-Designs/Astro-Space) Template
- Astro Server Actions
- Zod
- Tailwind CSS
- Flexbox
- CSS Grid
- Bun
- Mobile-first workflow

### Useful resources

- [Tailwind CSS Cheat Sheet](https://tailwindcomponents.com/cheatsheet/)
- [Astro Server Actions](https://github.com/withastro/roadmap/blob/actions/proposals/0046-actions.md)

## Author

- Website - [Smart Ace Designs (GitHub)](https://github.com/Smart-Ace-Designs)
- Frontend Mentor - [@smart-ace-designs](https://www.frontendmentor.io/profile/Smart-Ace-Designs)