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

Flexbox - Landing-page

Mahmood 1,070

@MahmoodHashem

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


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

In this challenge, one of the most fascinating things I learned was how to create curved sections on a website using CSS. This involves a clever technique where you:

  1. Create a section element for the content you want to have a curved edge.
  2. Set the background color of that section to match the color you want the curve to be.
  3. Then, you add the curved images which are created with svg before and after the section

What specific areas of your project would you like help with?

Any feedback is appreciated

Community feedback

P
Lo-Deck 2,020

@Lo-Deck

Posted

Hi well done for this challenge.

First thing I give you this link that you can check out your HTML. 3WC Validator.

Try to have your website like this

<header>
<main>
<footer>

You have div and section out of the main. You can wrap them inside. MDN

Look at this part, it' a mess you can't do that

<section class="user-wrapper">
  <img src="./images/bg-section-top-desktop-2.svg" alt="top" class="top">
  <section class="users">
    <div class="contents">
      <h2>Your Users</h2>
      <p> It takes no time at all to integrate Huddle with your app's authentication solution. This means,
        once signed in to your app, your users can start chatting immediately.</p>
    </div>
    <img src="./images/illustration-your-users.svg" alt="users">
  </section>
  <img src="./images/bg-section-bottom-desktop-2.svg" alt="bottom" class="bottom">
</section>

Try to have a section like that

          <section class="item your-users">
            <img class="item-image" src="./images/illustration-your-users.svg" alt="">

            <div class="desktop-item-text">
              <h3 class="title item-title">Your Users</h3>
              <p class="section-text">
                It takes no time at all to integrate Huddle with your app's authentication solution. 
                This means, once signed in to your app, your users can start chatting immediately.
              </p>
            </div>
          </section>

Last thing, You should use em or rem instead of px.freecodecamp.

Hope to be helpful.

Marked as helpful

1

Mahmood 1,070

@MahmoodHashem

Posted

@Lo-Deck Thanks a lot for your feedback, I will improve it.

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