Learn accessibility by Building a Quiz step 9

keep getting a error, please help

the directions are:

Step 9

As described in the freeCodeCamp Style Guide, the logo should retain an aspect ratio of 35:4 , and have padding around the text.

First, change the background-color to #0a0a23 so you can see the logo. Then, use the aspect-ratio property to set the desired aspect ratio. Finally, add a padding of 0.4rem all around.

my code is as follows:

#logo {

  width: max(100px, 18vw);

  background-color: #0a0a23;

  padding: 0.4rem;

  aspect-ratio: 35:4;


the error I receive is:


Sorry, your code does not pass. Don’t give up.


You should use the aspect-ratio property.

Please help

this is not an allowed value for aspect-ratio
see the documentation:

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

just change “:” to “/” is ok

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