So, I’ve tried to do this in a few ways and looked in various places. But I can’t get the aspect ratio selector right.
Here’s the code I have:
width: max(100px, 18vw);
The hint is that
‘You should use the
After checking online I was pretty sure I’ve got the formatting for aspect ratio right but perhaps I’m missing something.
Challenge: Step 9
Link to the challenge:
The code you have shared works on my end. Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.
Or you can try another browser
I’m doing this on my iPad and that’s likely causing the issue. Sometimes it just makes correct code not work for some reason—which I forget about until it decides to throw a wrench in the works.
I’ll redo it on my Mac and it should behave then.
November 27, 2022, 6:28am
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.