web.selah-hcs.orgweb design for kids // html5 + css3one day academy
THIS WEEK'S JOB // Make your tables handsome and start leaving notes to your future self in the code. (Book pages 206-210 in Mrs. Gaiser's book.)
THE THREE IDEAS
border-collapse and padding
border-collapse: collapse merges the double lines; padding in cells stops the numbers from touching the walls. Two properties, instant dignity.
Stripe the rows
Alternating row colors (a class on every other row, or nth-child if you are bold) helps eyes track across wide tables.
Comments are notes, not code
HTML hides notes inside comment markers and CSS inside slash-star pairs. The browser skips them; the next person reading your code (you, in March) does not.