Why my code doesn't work?

Why my code doesn't work?
0.0 0

#1

Hello! Help!
I don’t understand why my code doesn’t work and background color isn’t black…

body { background-color: #000000; }

#2

Is your code between tags like below:

<style>
body {background-color: #000000;}
</style>
</head>

or in a separate css file? You have not given enough information to give you the best answer. Are you working on one of the challenges? If so, what is it called or copy/paste a link to the challenge here.


#3

“Use Hex Code for Specific Colors” is my challenge I’m working at


#4

Thanks a lot for your answers!


#5

It would be better for everyone to understand the problem if you included a codepen link.

Make sure you have something in your body or set the height and width using css, otherwise it won’t show up.

And if this doesn’t help. PLEASE include a codepen link. So we can discuss further. :smiley:


#6

Is the problem fixed?