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

Social Links Profile with CSS Flexbox

@tagutirayane

Desktop design screenshot for the Social links profile 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 made this very quickly and without consulting previous projects. Flexbox is becoming clearer!!!

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

I would like to know how to work more with the focus function. I mean, when I click, the anchor gets green, but when I unclick, it stays green, and I would like it to go back to white. Any tips??

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

I would like to know how to work more with the focus function. I mean, when I click, the anchor gets green, but when I unclick, it stays green, and I would like it to go back to white. Any tips??

Community feedback

Daniel 🛸 44,230

@danielmrz-dev

Posted

Olá Rayane !

Parabéns por completar o desafio! ✅

Sua solução está ótima!

📌 É recomendado usar elementos HTML semânticos como <ul> e <li> para criar listas. Isso garante que seu código seja mais acessível, mais fácil de manter e semanticamente significativo.

Aqui está um exemplo de como você pode refatorar seu código:

Após a Refatoração

<ul class="list-container">
    <li><a href="#">Github</a></li>
    <li><a href="#">Frontend Mentor</a></li>
    <li><a href="#">LinkedIn</a></li>
    ...
</ul>

Ao usar <ul> e <li>, você transmite a estrutura do seu conteúdo de forma mais clara, facilitando para leitores de tela e mecanismos de busca entenderem. Além disso, isso está alinhado com as melhores práticas para semântica HTML.

Espero que você ache isso útil!

Continue com o excelente trabalho!

0

@tagutirayane

Posted

@danielmrz-dev hey, Daniel, eu já ouvi professores dizendo que entre listas ou divs, não há diferença, e a semântica dos divs deixa o código mais limpo. Sabe dizer o que realmente é mais praticado no mercado?

Obrigada pelo feedback <3

1
Daniel 🛸 44,230

@danielmrz-dev

Posted

@tagutirayane Com certeza há diferença, especialmente no aspecto de otimização de SEO e acessibilidade.

Embora seja possível usar divs para muitos propósitos, a prática recomendada no mercado é usar os elementos HTML de forma semântica (elementos como div e span, não possuem valor semântico nenhum, apesar de serem úteis pra outras coisas).

Isso não só melhora a acessibilidade e o SEO, como falei antes, mas também facilita a manutenção do código a longo prazo.

Então minha recomendação é: quando estiver representando listas, use listas; para agrupamentos genéricos ou elementos de layout, use divs.

0

@tagutirayane

Posted

@danielmrz-dev maravilhaa, obrigada pelo esclarecimento, já aproveito pra direcionar meu código nesse sentido logo no início =)

1

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