
Design comparison
Solution retrospective
I managed to make the page pretty close to the Figma design only using plain CSS and HTML. Also digged deeper into how to style lists.
What challenges did you encounter, and how did you overcome them?I was having hard time working with lists in this project. With help of AI I came up with solution, but I am not sure it is the best option. Also, first time working with Figma, I did not use Dev mode. Finaly, I guess, the transition between different screen sizes could be smoother.
What specific areas of your project would you like help with?I would like some feedback on list styling and media queries the most. Also, any other insights would be helpfull too. Thank You.
Community feedback
- P@fraserjubbPosted about 1 month ago
Final result looks good! 😄
With your lists, I would suggest removing the <p> tags within the <li>’s. Whilst there isn’t anything semantically wrong with having them there (that I am aware of), it just adds more complexity when reading and writing. For instance, with the following code:
HTML:
<ol> <li class="list__item">Cat</li> <li><p>Dog</p></li> <li class="list__item"><p>Turtle</p></li> </ol>
CSS:
.list__item { color: hotpink; } p { color: green }
If you try writing this up, you will see the issues this causes due to specifity.
Hope this helps! I'm at a similar level to you.
0
Please log in to post a comment
Log in with GitHubJoin 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