Step 40 - Building a City skyline

What am I doing wrong?

In .bb1a , add a gradient of type linear-gradient to the background property with --building-color1 as the first color and --window-color1 as the second.

My code:
.bb1a {
width: 70%;
height: 10%;
background-color: var(–building-color1,–window-color1);

Please share the link to the challenge.

hello and welcome to fcc forum :slight_smile:

  • seems like it has syntax error for var(....) notation

address that change and it should be alright, happy learning :slight_smile:

n.b. always share task url along with your posts, its easier that way…

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.