@correlucas
Posted
👾Oi de novo Paula, tudo bem? Parabéns pelo desafio!
O seu componente já está com o design pronto, um bom exercício pra melhorar seu código, seria criar a estrutura mais limpa o possível e reduzir seu código ao máximo. Por exemplo, você pode segurar todo conteúdo em um bloco só usando (<main>
ou <div>
) nesse caso vamos usar <main>
por que é uma tag semantica. Se você notar, nem precisa adicionar nenhum div além da principal pra segurar o conteúdo (img, h1 e p). A estrutura ideal e mais limpa possível pra esse desafio é essa aqui:
<body>
<main>
<img>
<h1></h1>
<p></p>
</main>
</body>
👋 Espero ter ajudado e continue no foco!
Marked as helpful