Variables by Building a city skyline step 78

I dont know what i am doing wrong on the .bb1a code section. I have used the variable but i still got stuck. please how do i correct my error or code styling

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

I have edited your post to include a link to the challenge and to display your code correctly on the forum.

If you need help with a particular step, the best option is to hit the Help button, which appears after you have submitted incorrect code three times.
This will create a forum post which includes your full code, a direct link to the challenge and an opportunity for you to describe your issue in detail.

The instructions for Step 78:

Add a repeating-linear-gradient to .fb1c below the one that’s there; use your --building-color4 from 0% to 10% and --window-color4 from 10% and 90% . This will fill in behind the gradient you added last.

This doesn’t appear to correspond to what you are trying to achieve. Which step are you actually working on at the moment?

1 Like

when you use a class, remeber you need to start the selector with ., or if it’s an id it has to start with #. When you have questions about code it’s important to post all of it

1 Like

thank you for the update i have corrected and update a new topic for the error

Yes I observed and really i have taken into consideration and corrected the error

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