Tell us what’s happening:
Describe your issue in detail here.
It not working
Your code so far
<!-- file: index.html -->
<link href="styles.css" rel="stylesheet" />
/* file: styles.css */
border: 1px solid black;
Your browser information:
User Agent is:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/220.127.116.11 Safari/537.36
Challenge: Learn CSS Variables by Building a City Skyline - Step 15
Link to the challenge:
I assume that it’s not working if you are asking for help. Can you please be more specific about what has you stuck or confused? What errors do you see? What have to tried to address those errors?
help me fix the bug, it keep telling that my code is wrong
I am trying to help you my friend.
Try to tell me what this line is supposed to do.
To use a variable, put the variable name in parentheses with
var in front of them like this:
var(--variable-name). Whatever value you gave the variable will be applied to whatever property you use it on.
Add the variable
--building-color1 you created in the previous step as the value of the
background-color property of the
What does this part here mean? It is a color?
How about this one? What is this one?
I have figure it out thanks bro or sis
background-color: var(–building-color1#999); / wrong code/
background-color: var(–building-color); /
how for I’m still stuck to this part ?
If you have a question about a specific challenge as it relates to your written code for that challenge, just click the
Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.