Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

News-Letter Sign In with Success Message using React, SASS/SCSS

react, sass/scss
Zubair Abid•280
@ZubairAbid101
A solution to the Newsletter sign-up form with success message challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hello!!!

Thanks for checking out my solution!

This project was built using,

  • HTML
  • CSS
  • JavaScript
  • SASS/SCSS
  • React

I had difficulties in,

  • Using the correct regular expression for email validation
  • Controlling state passed to child components using parent component
  • Conditional rendering
  • Dynamic styling

I aim to improve my understanding of,

  • state
  • props
  • styling in React

I have the following questions,

  • Q1: How can I make my code more readable?
  • Q2: Will it be better to apply conditional rendering to the element with the .container class?
  • Q3: Should I create a separate child component for the form?

Any feedback regarding best practices would be much appreciated!

Until next time!!!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Zubair Abid's solution.

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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License