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

Used CSS Grid and Media Query.

LuBrito 60

@Luizadebrito

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 pround to really be able to do it, when I thought I couldn't. Now, i'm not sure about what I could've done better, but I'll be glad to receive some feedbacks about what I should do better in my code.

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

My challenge was to build a backend that would be better to style, them I did some tests with the syntax of HTML, while I change the style in CSS.

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

I think I could use some help with the HTML to better use the syntax.

Community feedback

Daniel 🛸 44,230

@danielmrz-dev

Posted

Olá @Luizadebrito!

Seu projeto está excelente!

Tenho duas sugestões:

📌 Primeira: Use <main> pro conteúdo principal ao invés de uma <div>.

Tags como <div> e <span> são exemplos típicos de elementos HTML não-semânticos. Elas servem apenas como containers para o conteúdo, mas não indicam qual o tipo desse conteúdo e nem o papel que ele desempenha na página.

📌 Segunda: Também por questões semânticas, use <h1> para o título principal ao invés de <h2>.

Ao contrário do que a maioria das pessoas pensa, a diferença entre os HTML headings não é só sobre o tamanho e peso do texto.

  • As tags <h1> a <h6> são usadas para definir títulos em HTML.
  • <h1> define o título mais importante.
  • <h6> define o título menos importante.
  • Use apenas um <h1> por página - isso deve representar o título principal de toda a página. Além disso, não pule os níveis de título - comece com <h1>, depois use <h2> e assim por diante.

Essas mudanças de tag geram pouco ou nenhum impacto visual mas tornam o seu código HTML mais semântico e melhoram a otimização SEO e acessibilidade do projeto.

Espero que ajude!

Fora isso, ótimo trabalho!

Marked as helpful

0
LuBrito 60

@Luizadebrito

Posted

Thank you for the suggestions! I'm gonna do the suggested changes and I'll be more attentive about the semantics HTML

Thank you so much! I apreciate your help!

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