Recipe page using HTML and CSS

Please log in to post a comment
Log in with GitHubCommunity feedback
- P@RadaidehDaniel
Good job, Nomakhosi.
I want to add one trick to your arsenal.
Instead of using an inline-styles
<th style="border: none;">Fat</th> <td style="border: none;">22g</td>
you can replace it with a CSS line
table tr:not(:last-child) { border-bottom: 1px solid #ddd; }
This will add a border line to the bottom of each row, excluding the last row.
Marked as helpful
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