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

All comments

  • @StarChan013

    Submitted

    Hey guys!

    Thank you for being here! This is my second challenge and i'm really proud. This is my first coding a mobile-first on my own !

    I studied a lot to try be more independent in projects, but i know the importance of work in a team and ask for help.

    Anyways, hope you enjoy!

    Waiting your feedbacks!

    Mariuszβ€’ 120

    @MariusG1991

    Posted

    Hi Vanessa

    Great work! One thing I would change is media query break point. Instead of 1440px I would use something around 700px or 800px, so it's not growing to big. You can try it πŸ˜‰

    1
  • Celeste Demariaβ€’ 10

    @csdemaria

    Submitted

    This is my first attempt at the solution for this challenge. It does the trick but I think the code should be better in regards to the position of the box and the alignments, so any feedback in that aspect will be appreciated.

    Mariuszβ€’ 120

    @MariusG1991

    Posted

    Hi,

    Great work, but instead of using position relative to center your component, the easier way is to use flexbox or grid.

    Flexbox solution

    body{
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
    }
    
    0
  • P
    Deanβ€’ 480

    @Deanogit

    Submitted

    Quick HTML CSS build, I am looking into using clamp() for the font-size and card width and height, curious to know how other people have achieved this.

    I also have some strange behaviour with the img when changing the viewport width, which needs some tidying up.

    Please take a look, any feedback would be greatly appreciated, thank you :)

    Mariuszβ€’ 120

    @MariusG1991

    Posted

    Hi

    Strage behaviour with your image happend because in your html file you have width and height set on the img tag, just remove it.

    0
  • Ahmedq02β€’ 30

    @Ahmedq02

    Submitted

    The sizing and positioning were the hardest to get right, is there and easy way of doing this?

    Mariuszβ€’ 120

    @MariusG1991

    Posted

    Hi,

    For positioning the easy way is to use flexbox. Instead of using margin in container to positioning, just set min-height:100vh in your body selector so height of this element is equal to 100% of the viewport height and then also in your body selector add:

    display: flex;
    justify-content: center; // This three will center your component in the middle of the screen
    align-items: center;
    
    

    Marked as helpful

    0
  • Mariuszβ€’ 120

    @MariusG1991

    Posted

    Hi,

    Easier way to center everything is using flexbox or grid, I will show u both solutions:

    First one

    body{
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
    }
    

    Second

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

    If you use one of this, you can remove position absolute,top,left,transform from your body selector ;)

    Marked as helpful

    0
  • Mariuszβ€’ 120

    @MariusG1991

    Posted

    Hi,

    Good job, one thing I would change is text color in the description paragraph, use darker one for better readability, u can use coolors site for checking contrast ratio between text and background color.

    1
  • Mariuszβ€’ 120

    @MariusG1991

    Posted

    Hi, U can set

    img{
     height: 100%;  // to fill empty space on top and bottom
     object-fit: cover;  // to maintain its aspect ratio while filling the element's entire content box
    }
    
    0
  • Toyyib Bayoβ€’ 30

    @As-sakhowy

    Submitted

    1. Pls how can I center the div in the CSS part without deflecting to any side .
    2. can someone please explain to me how to link a font from the html file and add it to the CSS . These two things are the things I found most difficult to me in this project
    Mariuszβ€’ 120

    @MariusG1991

    Posted

    Hi,

    1. To center your div just remove max-width:1440px from body, it will solve the problem.
    2. So u use google fonts, select your fonts, in the right side you will see a link with your font name so "To embed a font, copy the code into the <head> of your html" and then in css just add font-family property with your font name, for example: body{ font-family: 'Outfit', sans-serif; }

    Marked as helpful

    0