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

Newsletter module

Sebastien 60

@bisol84

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


What are you most proud of, and what would you do differently next time?

I am proud of understanding the grid system. Was not easy at all !

What challenges did you encounter, and how did you overcome them?

Align and padding was difficult to manage, I have taken things from the ground.

Community feedback

BT738844 600

@BT453567

Posted

Hello

Good Effort

Here's a couple of suggestions that may improve your solution:

  1. To centre your solution in the page:

body { display: grid; place-items: center; min-height: 100vh; }

  1. At the moment, when you reduce the window size of your solution, you'll notice that the content does not stay within the container div.

Try using Flexbox rather than grid to display the main content:

#container { background-color: var(--white); border-radius: 20px; padding: 10px; display: flex; flex-direction: row; }

.left-col { padding: 0 40px; max-width: 30rem; }

.right-col {

}

Regards

1

Sebastien 60

@bisol84

Posted

@BT453567

Thank you very much. I will try this.

0
Sebastien 60

@bisol84

Posted

@BT453567

Thank you very much. I will try this.

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