Skip to content

Nikhila-DN/Contact-Form

Repository files navigation

Frontend Mentor - Contact form solution

Design preview for the Contact Form coding challenge

This is a solution to the Contact form 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:

  • Complete the form and see a success toast message upon successful submission
  • Receive form validation messages if:
    • A required field has been missed
    • The email address is not formatted correctly
  • Complete the form only using their keyboard
  • Have inputs, error messages, and the success message announced on their screen reader
  • 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

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • React - JS library
  • Tailwind
  • Formik
  • Yup
  • React-Toastify

What I learned

  • React - JS library
  • Tailwind - CSS Framework : Tailwind CSS is a utility-first CSS framework for rapidly building modern websites without ever leaving your HTML.
  • Formik : Formik is designed to manage forms with complex validation with ease. Formik supports synchronous and asynchronous form-level and field-level validation.
  • Yup : Yup is a JavaScript schema builder for validating or parsing values.
  • React-Toastify: allows you to add notifications to your app with ease. No more nonsense!

Releases

No releases published

Packages

 
 
 

Contributors