Lesson

freeCodeCamp Basic CSS, Change Element Colors,Class Selector, Font Degradation 3

Lesson Summary

This is the first part of freeCodeCamps Basic CSS course. We go through changing the color of text. We learn that we can apply a color style within individual elements by using the style attribute. We then learn that we can create a style tag and closing tag and place our styles within the opening and closing style tag. We also learn about classes and using them to select certain elements and apply a style to any element with that class. We learn about font-family and how odegradation works. This means that we can specify multiple font families so if one isnt available, another one can be used. In the next videos we will see how to add an external stylesheet so we can keep our HTML and CSS seperate.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: