Use a CSS Class to Style an Element, freeCodeCamp review html & css

This challenge introduces CSS classes. A class allows you to specify which elements you want to receive certain styles. This comes in handy when you do not want to apply the same style to like elements. For example, you might want to apply a style to your first heading tag and to your first paragraph tag. And a different style to your second heading tag, and paragraph tag. You can give the first 2 tags the same class which contains the specific style you want applied. While the next heading and paragraph can have a different style applied through their specific class. Class names are created by you, so give them good ones.

It's only fair to share...Tweet about this on TwitterShare on FacebookShare on TumblrShare on Google+Digg thisShare on LinkedInPin on PinterestShare on VKShare on RedditPrint this pageEmail this to someone
Flattr the authorShare on StumbleUponShare on YummlyBuffer this page

Leave a Reply

Your email address will not be published. Required fields are marked *