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

Profile card component - css flexbox

@seniorteck

Desktop design screenshot for the Profile card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


thanks for having a look at my project will love your feedback on how I can improve better

Community feedback

@seniorteck

Posted

I tried it out, I toggle the 2box which stands for (device toggle bar) and I have it set to 375px in width, is this how I will be checking for the min-width for mobile device

1

@AgataLiberska

Posted

@seniorteck that's what the design is made to - but it's just a guide to give you an idea of sizes and positioning of elements. Mobile devices come in a range of sizes as you're probably aware :D for me the larger ones are not a problem usually, but the ones smaller than 375px can be tricky. You can see what devices you can emulate and add or remove as needed

0

@seniorteck

Posted

@AgataLiberska okay thanks a lot, I get your point now.. they are indeed very tricky, and that exactly what I have been confused about...you just made it very clear to me... am very grateful here is my email: [email protected], can I pls also have yours so I can send you a preview of it or how do I attached a preview here

0

@AgataLiberska

Posted

@seniorteck best to join the Slack channel below, you'll be more likely to get feedback from people with a lot more experience, too

0

@seniorteck

Posted

@AgataLiberska am a member already but will start using it now. thanks

0

@AgataLiberska

Posted

Hi @seniorteck, I would suggest trying a different way of sizing your card, and maybe modifying your media queries. Now you've got margin set to 15% on screens wider than 375px, the card is really wide on desktop, but below that (on smaller mobile screens), your max-width: 1440px media query kicks in which sets max-width to 30%, so the white container is really narrow and the content overflows the card. Do you know how to check how your work looks on different screen sizes in your browsers? Because that helps a lot.

If you have any questions, let me know, I'll do my best to help :)

0

@seniorteck

Posted

@AgataLiberska Wow 🥰🥰thanks for your feedback will work on it.....for the media queries , I am having issue with this part, I do turn on google chrome developer mode and I move it to the side so this way I can resize my window to check the width of my design..pls 🙏 is the above way the way to check if not pls how can I check ..

0

@AgataLiberska

Posted

@seniorteck in the top left corner of the developer tools thing, there are two icons - one is an arrow and that will allow you to select the element on the page and see the markup and styles for it, and the other one is like two rectangles, and that toggles the device toolbar. the toolbar displays on the top of the viewport and you can have it set to either responsive which allows you to resize the viewport as you want, or you can select a device you particularly want to see.

If you can't find it, just google chrome device toolbar :)

0

@seniorteck

Posted

@AgataLiberska thanks a lot will check it out right away. solving another challenge of the testimonial-grid-section... pls how do you start your media queries for the device below 375px as stated you set the browser viewport to 375px and code for that above...

0

@AgataLiberska

Posted

@seniorteck it's easiest to start working from the mobile design, make sure it works, and only then use media queries to figure out tablet and desktop.

0

@seniorteck

Posted

@AgataLiberska okay, that means I have to guess the best width to give my code for 375px....I do appreciate and thank you for giving out the time to review my projects...

0

@AgataLiberska

Posted

@seniorteck you don't need to set a width at all a lot of times, you could just set margin and let the content determine the width :)

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