@Vanillatte68
Posted
Good job on completing the challenge!
You make good use of <b> tag in the HTML, remember you can always change the font weight and family for each HTML elements out there.
I completed this challenge the other days and here is how i build my table in my case:
<table>
<tr>
<th scope="row"></th>
<td></td>
</tr>
......
</table>
Use scope attribute to define the row as header. You don't need to define the table row as flex and just use text-align
to align the text inside. You can use class selector :first-child
and :last-child
to stylize the table border
I hope this help, happy coding!
Marked as helpful
@Vanillatte68 thank you very much, it was useful
I saw your code, my question is why do you use rem in some parts and em in others?
@Vanillatte68
Posted
@iamkevin-sz Hello, thanks for the reply! I use em for spacing between elements to keep it consistent between parent and child element, while i use rem to set font size, margin, and padding to keep the size relative to the parent element.
Marked as helpful