There is a bug in the CSS learning when changing body to black

There is a bug in the CSS learning when changing body to black. I tried everything I could think and nothing works. this the code I put in.

body{ background-color: black; }

And I cant get it to work? any help?

What is the name of the challenge you are working on?

Hi, its at Style the HTML Body Element page 50

Ok just found the bug I had it like this

<style>
body{
background-color: black;
}
</style>

and it didn’t work until I wrote it like this

<style>
body{background-color: black;}
</style>

and finally it worked, took me a while but I finally got it. so just a heads up everyone.

1 Like

The above does work, but you might have needed to refresh the page and re-run the tests. Either way, glad you successfully passed the challenge.