[VISUAL] CSS Intro, Syntax & the CSS Cascade
CSS Syntax
CSS Specificity
LINK CSS TO HTML
To write the css in a seperate file, you have to link that file to the html.
In the head element, make a new element called link and write this:
<head>
<link href="styles.css" rel="stylesheet"/>
...
justmyahia.hashnode.dev1 min read