Learn CSS Variables by Building a City Skyline - Step 40

I’m not sure whats wrong here

.bb1a {
  width: 70%;
  height: 10%;
  background-color: var(--building-color1); 
  background: linear-gradient(
    --building-color1,
    --window-color1
  );
}

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Hey, welcome to the forums. In the future, it is best to use the Help button in the step itself to create a post in here.

As for your issue, look at how you’ve used custom variables in previous steps. For example, when you set the background-color property in this ruleset. What did you have to use in order to set the background color to --building-color1? You need to do that same thing for the two custom variables in the linear gradient you are trying to set.