@danielmrz-dev
Posted
Fala @brunohenriquedeveloper!
Seu projeto ficou show!
Eu tenho algumas sugestões pra você aprimorar ainda mais:
- Primeira: Por questões semânticas, não pule os níveis de título - comece com
<h1>
, depois use<h2>
e assim por diante. 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.
- Segunda: Ainda sobre HTML semântico, use
<main>
pro conteúdo principal ao invés de uma<div>
.
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.
- Terceira: A borda superior esquerda do
.card
está reta (sem a aplicação doborder-radius
). Na verdade, a borda está lá, mas a imagem está cobrindo. Pra arrumar é bem simples. Adicionaoverflow: hidden
ao.card
.
Espero que ajude! 😁
Fora esses detalhes, você fez um excelente trabalho!
Marked as helpful
@brunohenriquedeveloper
Posted
@danielmrz-dev, muito obrigado pelo feedback, com certeza farei essas auterações, por algum motivo quando eu uso o overflow: hidden o site desconfigura totalmente.
@danielmrz-dev
Posted
@brunohenriquedeveloper
Caramba... que esquisito. Testei no DevTools e deu certinho 🤔
Enfim, de qualquer maneira, essa é uma boa opção pra esses casos. Não sei exatamente o que pode estar causando essa desconfiguração... até porque o overflow: hidden
não tem todo esse poder 😅
Marked as helpful
@brunohenriquedeveloper
Posted
@danielmrz-dev deu certo, estava usando o overflow na posição errada quando apliquei no body funcionou!