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

Huddle-Landing-Page-With-Curved-Sections using HTML & CSS

Harshit Soniā€¢ 290

@Harshitsoni2000

Desktop design screenshot for the Huddle landing page with curved sections coding challenge

This is a solution for...

  • HTML
  • CSS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


How can I improve my solution?

Community feedback

P
Daveā€¢ 5,245

@dwhenson

Posted

Hey @Harshitsoni2000 lovely job on this one! šŸ™Œ Overall I'd say that you've done a great job. Here's some points you might like to consider:

  1. On the top logo, you've set both width and height to be 100%, which is causing distortion. If you just set one and the other as auto the CSS won't have to stretch the image and it'll look better - This is a good think for all images.

  2. You might want to think about stopping the page from spreading too wide a very large screens. There are many ways to do this. I set a grid on the body element, with three columns, as follows:


.center-content {
	display: grid;
	grid-template-columns: minmax(1rem, 1fr) minmax(375px, 1440px)minmax(1rem, 1fr);
}

.center-content > *  {
	grid-column: 2;
}

This puts all the direct children of the body, mostly, my header, main, and footer the middle column, and stops them going wider than 1440px.

This issue will come up in so many challenges so it's worth spending a while to get comfortable with an approach that works for you.

Great work and cheers for now šŸ‘‹

Marked as helpful

1

Harshit Soniā€¢ 290

@Harshitsoni2000

Posted

@dwhenson Thank you sooo much for this detailed review. I will surely remember 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