Skip to content

Frontend Mentor Challenge - Newsletter sign-up form with success message

Notifications You must be signed in to change notification settings

Daniel-Livingston/fm-newsletter-signup-with-success

Repository files navigation

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.

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

Mobile

The base page on mobile:

Mobile screenshot

The base page with an email error on mobile:

Mobile screenshot with email error

The success page on mobile:

Mobile screenshot of the success page

Desktop

The base page on desktop:

Desktop screenshot

The base page with an email error on desktop:

Desktop screenshot with email error

The base page on desktop with the button's active state:

Desktop screenshot with button's active state

The success page on desktop:

Desktop screenshot of the success page

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • SvelteKit

About

Frontend Mentor Challenge - Newsletter sign-up form with success message

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published