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

I0 have used CSS properties to have page responsive

@varunKumar993

Desktop design screenshot for the Recipe page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

it was a good project to understand how HTML and CSS works

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

it was a good project to understand how HTML and CSS works

Community feedback

@krushnasinnarkar

Posted

Hi @varunKumar993,

Congratulations on successfully completing the challenge!

Your solution looks nice, though there are a couple of things you can improve which I hope will be helpful:

  1. Background Colors:

    • The background colors of the body and .container elements do not match the design. Make sure to use the exact colors specified in the design.
  2. Responsiveness:

    • Your website is not responsive below 500px. This issue arises due to the fixed width of 500px given to the .container and table elements. To solve this, you can use max-width instead. This will set a maximum width of 500px for your elements and will automatically reduce the size if the screen size is smaller than 500px.

    Example:

    .container, table {
        max-width: 500px;
        width: 100%;
    }
    
  3. Background Color for .preparation:

    • The .preparation section is missing its background color as per the design. Make sure to add it to match the design specifications.
  4. Font and Font Sizes:

    • Ensure you use the fonts and font sizes given in the style guide to make your solution more accurate to the design.
  5. List Styles:

    • The ul bullets and ol numbers should have specific colors. You can achieve this by using the ::marker pseudo-element.

    Example:

    ul::marker, ol::marker {
        color: #specifiedColor;
    }
    
  6. Layout Using Flexbox:

    • Instead of using margins to separate each section, consider using Flexbox for better alignment and spacing. Flexbox provides a more flexible and efficient way to layout, align, and distribute space among items in a container.

    For more information on Flexbox, you can check out these resources:

I hope you find this helpful. Feel free to reach out if you have more questions or need further assistance.

Happy coding!

0

@varunKumar993

Posted

@krushnasinnarkar sure I will make a note of it, also I will apply your suggestion and I will work accordingly

0
Owolabi 250

@Ay-dotcode

Posted

Good job But it doesn't exactly look like what you were told to design

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