Code doesn't pass for black CSS screen

Code doesn't pass for black CSS screen
0

#1

Here’s the code:

<style>

body {
  background-color: black};

</style>

Here’s the Robo Problem:

// running test
Make sure your CSS rule is properly formatted with both opening and closing curly brackets.
Make sure your CSS rule ends with a semi-colon.
// tests completed


#2

There are also tags which didn’t copy.


#3

Nevermind. I put the semicolon INSIDE the curly brace to pass! DUH!


#4

I’ve edited your post for readability. When you enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.