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

React, React router, responsive, no Figma

@mreed4

Desktop design screenshot for the Newsletter sign-up form with success message coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Initially I wanted to avoid React and React Router, so I ended up cobbling together some vanilla JS routing. It worked, at least locally, but did not render anything when viewed on Github pages. I ended up rebuilding it using React.

The non-React attempt is the main branch. Github pages uses the main branch (but doesn't actually display anything) The Netlify site uses the react branch.

Community feedback

@imparassharma

Posted

I didn't understand...are you having problem in publishing the react app in github?

0

@mreed4

Posted

@imparassharma No, it works now that I converted it to React. The Preview linked here on Frontend Mentor links to the page on Netlify.

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