IsraelW
February 15, 2022, 2:08pm
1
This is the last step of the Piano making lesson in the RWD Course.
I wrote the code correctly, but the testing bot doesn’t think it’s done.
Is there anything I missed?
My Code
@media (min-width: 769px) and (max-width: 1199px) {
#piano {
width: 675px;
}
.keys {
width: 633px;
}
}
The Error Message
✖️ Keep trying. A quick hint for you:
Your second @media rule should have a #piano selector.
Please don’t post pictures of code. Cut and past the code into the message and include a link to the challenge.
arcismd
February 15, 2022, 2:54pm
4
Hi, can you please offer a link to the challenge?)
Most likely it is a bug with the automatic verification system cause it is better to write the min-width
value first but you can’t pass that way the challenge, kek.
Replace them to complete:
@media (max-width: 1199px) and (min-width: 769px) {
#piano {
width: 675px;
}
.keys {
width: 633px;
}
}
IsraelW
February 15, 2022, 3:46pm
5
1 Like
IsraelW
February 15, 2022, 3:47pm
6
Switching the order of the queries solved the issue! Thank you!
2 Likes
system
Closed
August 17, 2022, 3:48am
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.