"Keeping It Classy"


#1

I'm having trouble understanding and using classes. The instructions say to Create any number of HTML elements you like and give them the class "fancy". On the CSS tab, set .fancy to have a font-family of cursive and a color of #0000CD. I don't think I am creating the HTML elements correctly.


#2

You see classes can be used multiple times in your HTML document that's why the instructions say that you can create how many div's you want and give the class of fancy so you do this:

<div class="fancy"> add in whatever you want be it paragraphs or images </div>

And then in your CSS:

.fancy {
color: #0000CD;
font-family: Cursive;
}