Learn CSS Variables by Building a City Skyline - Step 60

I did everything as requested, but the code is not accepted. Where am I missing?
.bb3 {
width: 10%;
height: 55%;
background-color: var(–building-color3);
background: repeating-linear-gradient
(90deg,
var(–building-color3),
var(–building-color3),
var(–window-color3) 15%;
}

background: repeating-linear-gradient
(90deg,
var(–building-color3),
var(–building-color3) 7.5%,
var(–window-color3) 15%);

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your mobile information:

M2101K6G - Android 13 - Android SDK 33

Challenge: Learn CSS Variables by Building a City Skyline - Step 60

Link to the challenge:

In your CSS Variable to assign any value we just use correct syntax which is given below.

background-color: var(- -CatMouse-color);

In your code you just put single hypen - but required two hypen sign.

Hope you understand.

1 Like

Thank you very much for your support. :+1:

Most welcome buddy.
Keep coding and learning. :blush:

1 Like

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