Learn Intermediate CSS by Building a Picasso Painting - Step 7

Tell us what’s happening:
I am trying to use an id selector (back-wall) to change a bit of the background color.

My error, after writing the last section of code on the styles.css file, is:
Sorry, your code does not pass. Try again. You should use a #back-wall selector.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Picasso Painting</title>
    <link rel="stylesheet" href="./styles.css" />
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  </head>
  <body>
    <div id="back-wall"></div>
  </body>
</html>
/* file: styles.css */
body {
  background-color: rgb(184, 132, 46);
  
#back-wall {
  background-color: #8B4513;
}

Your browser information:

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

Challenge: Learn Intermediate CSS by Building a Picasso Painting - Step 7

Link to the challenge:

The ‘body’ selector doesn’t have the closing curly bracket.

Of course! Thank you so much :slight_smile:

1 Like

(post deleted by author)