Learn CSS Variables by Building a City Skyline, Step 23

Please help me, i tried in different ways, but nothing! im blocked. Thanks at all!

.bb2 {
width: 10%;
height: 50%;
background-color: var(–building-color2, fallback-value) green;


To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.

Also, look closely at the example in the instructions again:

var(--variable-name, fallback-value);

The string “fallback-value” in the example is meant to be replaced with the actual color you want to use as the fallback.

Thanks! i already understod! I tried it so many times that I swear I have done this step that you tell me too :laughing:!!! but anyway, that’s the code, capricious! :man_facepalming:t5: :grin:

and thanks for the recommendation on how to publish, I’ll take it into account for future occasions and for helping in my english learning!

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