Cascading Style Sheets – Separation of Concerns

Went into the CSS portion of Andrei Neagoie’s Zero to Mastery WebDev course; it’s more a refresher of CSS concepts that I went through in freeCodeCamp.

The introductory CSS lesson outlined the basics to writing CSS and Andrei went some way to explain why css code is contained in a separate file rather than having the code inline within the html file; namely separation of concerns

As websites get bigger and more complex, it’s cleaner to separate code governing styles from the main website code so that it’s easier to edit appearance of the website without adding lines to the main website code.

Days since last Zero Day: 2 (31/8/2020)