Code skill Writing CSS

In this piece of code you can see how CSS works. The style attribute is added to the HTML elements you wish to change. The value of the style attribute is then set to a CSS property and a CSS value. The property is the name of the thing you want to change, like the background colour, and the value is what you want to change the property to, like green or blue.

See the Pen M1 CS Writing CSS by Walker Books UK (@walkerbooks) on CodePen.