Changing background colour

Tell us what’s happening:

Hi, can anyone help. I’m stuck not sure what I am doing wrong?

Your code so far


<style>
body {
  background-color:rgb (0,0,0);
}
</style>
<body type="background-color:rgb(0,0,0"> </body>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36.

Challenge: Use RGB values to Color Elements

Link to the challenge:

Remove the last line:

<body type="background-color:rgb(0,0,0"> </body>

And your code works!

1 Like

Rielka, thank you it worked!

1 Like