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 typescript Newsletter

Jeff 210

@W4GFO

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


This is a FrontEnd Mentor project

This project was bootstrapped with Create React App.

Specifically:

> npm create-react-app news-letter --template typescript

This project requires the following additional npm install:

> npm install sass

This project contains the following components:

  • src index.tsx //The primary react-app standard starting code and creates a flex-box to center the main UI App.tsx //Sets up, and contains the initial ParentFrame components

  • Components ParentFrame //The primary container which holds the two Components: <ComponentsContainerFrame> more specifically

ComponentsContainerFrame //One holds the image, the other holds the frame for all the marketing text and email input.

MarketingMaterialFrame and MarketingImageFrame: The marketing information in the two <ComponentsContainerFrame>

Popup component //This is just the popup when the user submitts their email.

Have the components which need to be worked through to iron out the layout isolated from the content.

Then, have the components which display data isolated from issues with the overall layout of the primary page.

Though this architecture and the number of components may seem overkill for this project, I want to start designing as if the project were larger. Not certain this is the right concept at this point or not.

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

See the section about deployment for more information.

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Community feedback

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