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

  • Lara Mesa 160

    @Lara-art

    Submitted

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

    I’m really proud of this CSS code because I made it mobile responsive without using any @media queries.

    .card { display: flex; flex-direction: column; max-width: 320px; margin: auto; padding: 40px; }

    Using place-content: center, I was able to align and justify it both vertically and horizontally.

    body { height: 100vh; place-content: center; max-width: 1440px; margin: auto; padding: 2rem; }

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

    The challenge was the same as before, which is how to center it, but I can do it like this: body { place-content: center; max-width: 1440px; margin: auto; padding: 2rem; }

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

    There's one thing I don't quite understand, and that is exactly how much a rem measures. How could I find that out?

    Bryan 50

    @BataaB

    Posted

    I am not totally certain, but I think you might need to use the place-content: center along with something like display: flex.

    0
  • @MimikIsBad

    Submitted

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

    I'm not sure

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

    I guess positioning the card in the middle of the screen, I normally have to add a height in order to add extra space for it to move, and I am not sure if that is the normal way of creating these

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

    Centering/Positioning everything in a better way

    Bryan 50

    @BataaB

    Posted

    I also used display: flex to center my card. For the height is just gave it 100vh. I am not sure about what the best practice is though.

    0
  • Bryan 50

    @BataaB

    Posted

    In terms of HTML, I would recommend: - Using more semantic tags such as <h1> and <p> for the texts in the card. - Putting the <div class=card> in a landmark tag such as <main> In terms of CSS, I would recommend: - Changing up the sizes of some elements

    Marked as helpful

    0