Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Maker Landing Page

#react#typescript#emotion
P
Oleksandr 690

@Oleksandr-Berd

Desktop design screenshot for the Maker pre-launch landing page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


The Maker's landing page. Was made by React, Typescript, and Emotions for styles. Be welcome for review!

Community feedback

P
Fluffy Kas 7,735

@FluffyKas

Posted

Hey,

Your solution looks really nice! Just one thing: your email validation seems off? I could submit the following as a valid email address: kitten@kitten, though this obviously shouldn't pass as valid. Is there a reason you're not using email type input instead of text? If there is, you could double check how the validation is being done. I'm not familiar with Yup but there seems to be a problem with either this:

 const validationSchema = Yup.object().shape({
    email: Yup.string()
      .email("Oops! That doesn’t look like an email address")
      .required("Oops! Please add your email"),
  });

or rather how you pass in that validationSchema. Either case, it's worth checking. Apart from this, great job (:

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord