What is a comment?


show more What is a comment? provides you with in-depth training on Web. Taught by Justin Seeley as part of the CSS: Visual Optimization show less
please wait ...

What is a comment?

One of the easiest ways to let people know exactly what's going on inside of your CSS documents is to use something called a Comment. And you might not know exactly what a Comment is or how to write one, and so that's what we're going to talk about in this movie. What exactly is a Comment? So, I'm going to start off with a black CSS document, so let's go to File, New CSS, and you can create a new CSS document in whatever code editing application you happen to be using, it doesn't have to be this exact one. And so I'm just going to start off by typing out the body tag here and then on the second line I'm just going to define something like the font-size and then after that we're going to do something like 62.5%.

And so, after I type out 62.5%, some people might not understand exactly what that means. 62.5% of what exactly are we defining here? And so I need to put something in here that explains to the layperson exactly what this means. And so in order to that I ...

What is a comment?
Video duration: 2m 31s 1h 11m Beginner

Viewers:

What is a comment? provides you with in-depth training on Web. Taught by Justin Seeley as part of the CSS: Visual Optimization

Subject:
Web
Software:
CSS
Author:
please wait ...