Skip to content

RDCamu/frontendmentor-project6

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. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

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 of Solution

Desktop Desktop Active Desktop-Success-Active Mobile

Links

My process

Built with

  • Mobile-first workflow
  • Form Validation
  • Flexbox
  • CSS Grid
  • CSS custom properties

What I learned

  • Form Validation. I get to learn and apply html forms and form validation with javascript.
  • Using GET requests. I tried to use the GET request to access another HTML file for the success message to see if it will work and thankfully it did with Github pages.

Continued development

  • Javascript
  • Functions
  • Events
  • CSS selectors
  • Pseudoelements and variables
  • Responsive Design
  • SASS CSS
  • React

Useful resources

  • HTML/CSS by supersimpledev - This helped me learn HTML and CSS in a clear and concise manner. His examples and exercises are top-notch. This course is very beginner friendly so I highly recommend this to anyone wanting to learn HTML/CSS.

  • HTML/CSS etc Documentation - This is a great resource if you want an in-depth description of html tags, elements, css properties, etc.

Author