Tell us what’s happening:
My code doesn’t pass. It tells me I should not delete the existing .sky declaration.
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* User Editable Region */
@media (max-width: 1000px) {
.sky {
background: radial-gradient(
closest-corner circle at 15% 15%,
#ffcf33,
#ffcf33 20%,
#ffff66 21%,
#bbeeff 100%
);
}
/* User Editable Region */
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Challenge Information:
Learn CSS Variables by Building a City Skyline - Step 115
liduannn:
@media (max-width: 1000px) {
.sky {
background: radial-gradient(
closest-corner circle at 15% 15%,
#ffcf33,
#ffcf33 20%,
#ffff66 21%,
#bbeeff 100%
);
}
if you count how many { opening braces you have here, I think you will see there are 2.
but only 1 } closing brace in this block. Is there one you missed copying in?
I just tried but it still doesn’t work : (
When you copied the .sky block, did you leave the original one as-is?
Reset the code and copy again and be sure not to modify the original one.
If you are still stuck, please post the full code here in your reply.
1 Like
Oh…I deleted the existing .sky declaration…that’s what it meant. Thank you for your help!!
1 Like
system
Closed
April 16, 2025, 2:35pm
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.