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

QR code responsive page solution

@wafae-haida

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?

I learned how to use HTML5 for semantic markup, CSS for styling, and Flexbox for creating responsive layouts. I also explored the box-sizing: border-box; property to ensure consistent element sizing and the importance of media queries for a mobile-first workflow. Additionally, I've effectively integrated these concepts to create a well-structured, responsive webpage.

Some HTML code I'm proud of



  
  
  
  

proud of this css

{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  gap: 15px;
  box-sizing: border-box;
  padding: 15px;
  max-width: 230px;
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
}

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

One of the challenges I encountered was making the design responsive. Initially, I struggled to achieve this using only CSS and HTML. However, I overcame this by learning and applying various CSS techniques, such as Flexbox and Mobile-first workflow. These strategies allowed me to create a layout that adapts smoothly to different screen sizes. This experience taught me the importance of responsive design in ensuring accessibility and usability across all devices.

Community feedback

P
Sune Yde 100

@SuneYde

Posted

Your work shows great progress! The use of Flexbox, box-sizing: border-box, and mobile-first media queries is solid.

  • HTML: Great structure, though adding elements like <main> and <footer> would enhance semantics.
  • CSS: Well-organized and responsive, with effective use of Flexbox and modern practices.
  • Accessibility: Adding aria-labels and improving semantics will boost accessibility.
  • Responsiveness: Test on a wider range of screen sizes to ensure consistency.
  • Reusability: Consider utility classes for common styles to simplify your CSS.

Keep up the good work!

Marked as helpful

1

@wafae-haida

Posted

@SuneYde, thank you so much for your detailed feedback! I'm glad to hear that my use of Flexbox, and mobile-first media queries is on point. I appreciate your thorough review and suggestions. I'm excited to enhance my project further by incorporating these improvements, especially with accessibility and semantics. Thanks for the encouragement!

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