Design comparison
Solution retrospective
- to work with tables in HTML and CSS.
- to use media queries to make the website responsive to different screen sizes.
- to style the marker-element of list-items.
I had some difficulties to target the second column of the table, but I figured out that I could use td:nth-child(2)
and with that I was able to set the color and the font-weight of the data in the second column.
I also had an issue with setting the image padding for the bigger screen sizes, because it had width 100%
applied to it, it sticked out so I had to take of the extra padding with width: calc(100% - 40px);
this worked perfectly.
Any tips or improvements are welcome.
Community feedback
- @Mateogr03Posted 4 months ago
What are you most proud of, and what would you do differently next time?
to work with tables in HTML and CSS. to use media queries to make the website responsive to different screen sizes. to style the marker-element of list-items. What challenges did you encounter, and how did you overcome them?
I had some difficulties to target the second column of the table, but I figured out that I could use td:nth-child(2) and with that I was able to set the color and the font-weight of the data in the second column. I also had an issue with setting the image padding for the bigger screen sizes, because it had width 100% applied to it, it sticked out so I had to take of the extra padding with width: calc(100% - 40px); this worked perfectly.
What specific areas of your project would you like help with?
Any tips or improvements are welcome.
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