In the last lesson we learned about the various ways of loading CSS into an HTML document. In this exercise, why didn’t we use inline styles or the
<style> tags to load the CSS?
As developers we want to “separate our concerns” because this usually creates codebases that are more flexible, readable, and maintainable. As such, keeping our CSS contained within a separate .css file is the preferred way of including CSS within most projects.
For a deeper dive into some of the nuances here, take a look at this article.