Margin(top,right,bottom,left) does this site not accept shorthand for margin? need 1em on top and bottom

Tell us what’s happening:

Your code so far


The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.1.1; Z558VL) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.61 Mobile Safari/537.36

Challenge: Step 54

Link to the challenge:

Can you post your code, it is difficult to help you without your code.

The margin shorthand works for me, it should be working for you unless there is some problem with your code.

it finally accepted it, after I clicked check code a bunch of times.
but here’s the margin part of my code .

margin: 1em auto;
went through successful after clicking check code alot

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