deptagency / dept-engineering-blog-ui

dept-engineering-blog-ui.vercel.app
MIT License
1 stars 3 forks source link

Enhance Newsletter Subscription Forms #68

Open nring opened 2 years ago

nring commented 2 years ago

We have two places to sign up for the blog Newsletter. 1) The "Subscribe" button in the header, which displays the subscription form in a modal 2) The area beneath the content of a single post, which displays the subscription form right on the page.

The following should be done for both instances of the form: 1) Add ::selection styling for text box so user can tell when their email address is highlighting 2) Prevent submission of empty form 3) Add basic email validation. 4) Add error handling and display a generic message for most cases. "Oops! Something went wrong. Please refresh and try subscribing again." 5) Make sure styling is handled for both the full-screen modal variation and footer variation

Notes: