Design comparison
Solution retrospective
I'm proud of the design.
What challenges did you encounter, and how did you overcome them?i encountered a challenge with adding horizontal lines to my table. i didn't get a particular resource to fix it
What specific areas of your project would you like help with?i would like help with the code in general if it needs any improvements also how can I add horizontal lines to my table and color to my li symbols and numbers
Community feedback
- @kodan96Posted 6 months ago
hi there! 👋
-
for better class-names you can look up BEM notation
-
for adding horizontal lines to your table you can apply
border-bottom
to yourtr
elements in CSS and you can use andborder-collapse: collapse;
on thetable
element -
applying color to li symbols can be done by adding an
li::before
element like this:
li { position: relative; margin-left: 1rem; } li::before { content: '\2022'; position: absolute; left: -1rem; }
'\2022' is unicode for bullet-point
Hope this was helpful 🙏
Good luck and happy coding! 💪
Marked as helpful0 -
- @JoaoVictodevPosted 6 months ago
Hello, you can color the dots and numbers with the counter-reset property of the css, take a look at sites like mozilla and w3schools that have detailed information on how it works.
Marked as helpful0
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