@R3ygoski
Posted
Olá Diego, parabéns pela conclusão do seu projeto ele ficou muito bom.
Começarei pela sua duvida quanto a media query. Geralmente eu gosto de trabalhar no mobile-first workflow, pois é mais intuitivo pois só precisa ser usado o min-width
. Nele nós começamos fazendo a página nos baseando em designs mobile, geralmente 320px e 375px, e vamos aplicando as media queries para telas maiores, geralmente isso faz com que eu precise usar apenas uma media query, então recomendo muito que você dê uma olhada em como fazer projetos mobile-first.
Outra dica, que é em questão de organização, evite ao máximo usar style inline e style internal, pois isso deixa o arquivo do HTML muito verboso. Como seu projeto é simples e pequeno, isso não vai afetar muito, mas em projetos maiores você veria o quão problemático isso pode ser tornar, e sem contar que é uma boa prática você usar o CSS external, isso é, deixar um arquivo separado para o CSS.
Agora sobre algumas outras coisas. Quando você for utilizar tanto o font
quanto o font-size
, evite de passar valores em px, isso porque, px é um valor absoluto, o melhor é passar a medida rem, que é uma medida relativa. Ela é boa para ajudar na acessibilidade, pois ela se adapta as configurações de fonte do usuário.
Uma outra dica seria a de utilizar max-width
e min-width
para delimitar o tamanho máximo e o tamanho mínimo do seu card.
E novamente, parabéns pelo seu projeto, ele ficou muito bem feito, continue praticando e se aprimorando cada vez mais, caso algo que eu tenha dito não tenha ficado claro, por favor, comente aqui embaixo.