CSS Background color, height, and width, task 19


#1


Problem with CSS task 19.Just can't pass trough it.

https://www.codecademy.com/courses/web-beginner-en-TlhFi/3/1?curriculum_id=50579fb998b470000202dc8b#

Oops, try again.
It looks like your <div> doesn't have the right background-color (#cc0000)!


.Looks like i am doing everything just correct or i am not.Havent been stuck to a task for such a long time.All the time shows me an error that It looks like your <div> doesn't have the right background-color (#cc0000)! but it is #cc0000


#2

Is your CSS written in the stylesheet.css tab?

Is this what your CSS looks like?

div {
    background-color: #cc0000;
    height: 100px;
    width: 100px;
}

#3

Thanks alot :slight_smile:
Instead of 'div' i was typing 'body' :smirk:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.