Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
10
Comments
30

Madiha Khan

@madkn1311India420 points

I’m a mysterious individual who has yet to fill out my bio. One thing’s for certain: I love writing front-end code!

Latest solutions

  • Huddle Landing Page

    #bootstrap

    Madiha Khan•420
    Submitted almost 3 years ago

    1 comment
  • Four Card Feature using flex

    #bootstrap

    Madiha Khan•420
    Submitted almost 3 years ago

    0 comments
  • Product Preview Card with flex and grid

    #bootstrap

    Madiha Khan•420
    Submitted almost 3 years ago

    0 comments
  • Single Price Grid Component with grid and flex

    #bootstrap

    Madiha Khan•420
    Submitted almost 3 years ago

    0 comments
  • Base Apparel with html, css and js


    Madiha Khan•420
    Submitted about 3 years ago

    0 comments
  • Order Summary Card

    #bootstrap

    Madiha Khan•420
    Submitted about 3 years ago

    0 comments
View more solutions

Latest comments

  • Ralph Custodio•10
    @itsmeralph09
    Submitted almost 3 years ago

    QR code component solution

    2
    Madiha Khan•420
    @madkn1311
    Posted almost 3 years ago

    Hello Raph,

    Great job on the design...!!!😊

    The image paths should have a forward slash instead of backward slash.

    Also, images should have an alt attribute for better accessibility for screen readers.

    Marked as helpful
  • GIGACHAD•230
    @Khalid-debugg
    Submitted almost 3 years ago

    Not a perfect solution

    #progressive-enhancement
    2
    Madiha Khan•420
    @madkn1311
    Posted almost 3 years ago

    Hello Gigachad,

    Great job on the design...!!!

    You can use the icons from font-awesome. All you have to do is include the font-awesome cdn to access the icons and then you can customise them however you like.

    All the best for the next challenge. 😊

    Marked as helpful
  • Emir Muharemagic•175
    @MuharemagiC
    Submitted almost 3 years ago

    Profile card component

    1
    Madiha Khan•420
    @madkn1311
    Posted almost 3 years ago

    Hello Emir,

    You have done an amazing job with this challenge.

    The only thing I would suggest is that you should really read the report that is generated, as it helps a lot in improving the code.

    In your code, you have used the paragraph tag everywhere instead you should have used appropriate tags for headings, for instance, there should always be a level one heading that is h1 and they should be used in order such as h1, h2, so on and not randomly.

    Other than that I think it's perfect..!! 😊

    Marked as helpful
  • Francisco•210
    @jesusfrancisco88
    Submitted almost 3 years ago

    Order Summary Component

    2
    Madiha Khan•420
    @madkn1311
    Posted almost 3 years ago

    Hello Fransisco,

    You have designed the card quite well.

    Here are some things that you need to change

    You need to remove the background from your html code and place it in the styling of the body.

    body
    {
    background-image: url("./images/pattern-background-desktop.svg");
    }
    
    
    1. To center the card vertically use min-height: 100vh in the body instead of plain height as min-height allows responsive behaviour and adjusts according to the screen sizes.

    2. Always add an alt attribute to the images for better accessibility.

    All the best for the next challenge 😊

    Marked as helpful
  • Ralph•130
    @RalphJnr
    Submitted almost 3 years ago

    Order summary component using HTML & CSS

    3
    Madiha Khan•420
    @madkn1311
    Posted almost 3 years ago

    Hello Raph,

    The design of your card looks great. :)

    You need to include the following code in the body.

    body {
      background-image: url("../images/pattern-background-desktop.svg");
      background-repeat: no-repeat;
      background-size: contain;
    }
    
    
    1. Since your css file is in a folder, you have to set the image path with ../ that states that the image is located in the folder one level up from the current folder.

    2. Using background-size: contain; makes the entire image fit to the background space.

    Marked as helpful
  • Ali Hafidz•40
    @Hanzz14
    Submitted almost 3 years ago

    Order Summary Component Main

    1
    Madiha Khan•420
    @madkn1311
    Posted almost 3 years ago

    Hello Ali,

    You have designed the card quite well. :)

    To fix the background you need to include the following code in the body.

    body{
        background-color: hsl(225, 100%, 94%);
        background-image: url("../images/pattern-background-desktop.svg");
        background-repeat: no-repeat;
        background-size: contain;
    }
    
    
    1. You were using background instead of background-image property. Also, you have to be careful in setting the path of the image. In your case your css file is in a folder so that is why you have to set the path with ../ as this states that the image is located in the folder one level up from the current folder.

    2. Using background-size: contain; ensures that the entire background image will fit the background area.

    To center the card you need to include the following code once again in the body.

    body{
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    
    1. We use min-height instead of plain height because it enables responsive behavior and it will adjust according to the screen size.

    2. Also remove the media query since it is not needed in this case, instead add max-width to the container class as it also enables responsiveness and adjusts the size accordingly.

    Marked as helpful
View more comments
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub