4/23 Whats wrong with my code?


#1

p{color: #00E5EE;
}
div p {color:#CC0000; }

  • { color: #3A5FCD; dotted: 2px;
    }

--Oops, try again. Did you remember to add a border of color #3A5FCD around every element?


#2

Fixed it-------------------------


#3

how u fixed it??.................................


#4

no, no, no. That is not how it works, if you need help, post your code


#5

but i guess it wouldn't hurt to explaine what megamaster did wrong, the problem is in this line:

* { color: #3A5FCD;  dotted: 2px; }

but you want a border, and there are two good ways to define borders:

border: 4px solid red;

or:

border-width: 4px;
border-style: style;
border-color: red;

hope this helps


#6

thanks bro.................