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 component using HTML5 and CSS

collins-ai 130

@collins-ai

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'm proud of being able to get the design details using the figma application.

Next time i'll try to make the project more responsive. I didn't focus on the area of responsiveness in the project.

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

Making a proper responsive design is a challenge to me.

I tried making the elements to fit the page using font-sizes, padding and margin.

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

I need help in making the project responsive for both mobile, tablet, and desktop devices.

Community feedback

Huy Phan 1,860

@huyphan2210

Posted

Hi, @collins-ai

  • Good job on your first challenge! I have a few thoughts for improvement:
  • I noticed you're using a lot of div elements. While div is flexible, it's better to use semantic HTML whenever possible. Semantic tags like header, main, section, and footer improve accessibility, SEO, and make your code easier to understand for both developers and browsers. Aim to use the most meaningful HTML tags that describe the content.
  • The goal should be to write the least amount of code while achieving high accuracy. By reducing unnecessary HTML, you can keep your code cleaner and easier to maintain. As you continue practicing, you'll develop a better sense of how to simplify your structure.
  • Regarding your question about responsiveness, there's no one-size-fits-all rule for how a page should respond to different screen sizes (mobile, tablet, desktop). Developers usually base responsiveness on the designs provided, but since you're not a PRO user on Frontend Mentor, you don't have access to those files. You can use tools like browser extensions to measure distances and spacing in the JPEG designs available to you.
  • If you're unsure about responsive design, I recommend looking at how professionals handle it. There are plenty of resources out there—find one that resonates with you and follow it until you feel confident. Research topics like responsive design, media queries, mobile-first approaches, and semantic HTML to deepen your knowledge.
  • Lastly, the most important thing is practice. With continued practice, you'll come up with new ideas and develop a stronger understanding of web development.

Hope this helps!

Marked as helpful

0

collins-ai 130

@collins-ai

Posted

@huyphan2210 This is very helpful

Thank you so much

1
Sahmie 40

@Sahmiee

Posted

the solution does not differ much from the design

Marked as helpful

0

collins-ai 130

@collins-ai

Posted

@Sahmiee thank you for your feedback

0

@Rodrigo-Policarpo

Posted

Congratulations for your code!

About the responsive project, can be a little more easier than you imagine. Try to learn a little bit about 'CSS Flex', mainly 'display: flex' and 'flex-wrap', i have sure that will be very useful on this project.

Keep your way up, I hope this comment being useful.

Marked as helpful

0

collins-ai 130

@collins-ai

Posted

@Rodrigo-Policarpo thank you for your feedback

1

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