What is wrong with this code:

<div class="fancy"></div>
        <img class="fancy"/>
        <p class="fancy"></p>


Hi you should post your code both html & css

in what Lesson are you?


CSS Selectors, Lesson Eleven.


SO you begin with the code like that?

<!DOCTYPE html>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<!--Add your HTML elements with the class "fancy" below!-->

the the instruction says...

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.
And you did it

<div class="fancy"></div>
 <img class="fancy"/>
<p class="fancy"></p>

in your <div> and <p> you should add some text.. for example

<div class="fancy">Hello</div>

Can you post your css code?


.fancy {


Di You add a text between The <div> and <p>?


Yes, I did. It's correct now. Thanks wizmarco.