05: Important Attributes

You'll learn more about CSS in the next module, but in this lesson I'm going to give you a very short introduction to the four main attributes that CSS uses to connect to your HTML. Using these four you can specify how your HTML looks using CSS.

Warm-up

In the previous exercise you created a global.css file to style your HTML, and added a single "rule" to it. Make sure that your global.css is working by confirming that the text in links is very large. Another test is to do this:

body {
  background-color: red;
}

Learn JavaScript Today

Register today for the Beginner Basics course and get the new releases by just paying the difference. There's also special discounts for existing customers when new courses are released.


Still Not Sure? Check out more curriculum!