@danielmrz-dev
Posted
Fala @Michaelrodriguesds!
Seu projeto está excelente!
Tenho duas sugestões:
- Primeira: Pra tornar seu código HTML mais semântico, use
<main>
pro conteúdo principal ao invés de<section>
.
📌 A tag <section>
faria mais sentido se o card fosse parte de um site maior (e com certeza seria no mundo real) mas aqui ele é o principal elemento da tela.
- Segunda: Também por questões semânticas, e por ser o título principal da tela, você pode substituir o
<p>
por<h1>
. 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 tem pouco ou nenhum efeito visual, mas tornam seu código HTML mais semântico, melhorando a otimização de SEO e também a acessibilidade do seu projeto.
Espero que ajude!
Fora isso, ótimo trabalho!
Marked as helpful