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

A mobile-first solution using CSS flexbox

@Iyare

Desktop design screenshot for the QR code component 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?

In this project, I practiced using CSS flexbox to align items on a page. Prior to this time, this challenge was a daunting one because I lacked the knowledge of how to position elements vertically. However, over the past few weeks I have gained mastery through repeated use of flexbox in my projects. Next time, I'd love to fix the attribution to the bottom of the page and possibly change the component layout depending on the screen size. I also love to attempt using CSS logical properties and values instead of absolute values.

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

Initially, I had some issues with the vertical placement of the component. To solve this challenge, I added a height of 100vh to the parent element so that the flex item can have a reference to work with.

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

I have read a little about CSS logical properties on MDN but I still don't get it. How can we translate absolute values given by designers to logical properties? Is there a ratio or something?

Community feedback

@Jesuis-Jacques

Posted

Although, it looks like your solution has more width than the design however this is a very fine work. shows how much work you must have put into this and it made me look at the design from a perspective I didn't initially see it from(I included the down bit that talks about the 'challenge and coded by' in my design), coupled with a well articulated report on the project. I did learn a thing or two from this. Nice work mate!

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