Please post your actual code instead of a picture of code. Also, please post a link to the challenge you are working on. Thanks
(post deleted by author)
That is a picture. Please do not post a picture. Please post your actual code.
Here is the link: https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/step-90
img {
display: block;
margin-left: auto;
margin-right: auto;
}
That exact code works fine for me.
Two usual possibilities here:
-
Your browser is out of date
-
You changed something else in the code
1 Like
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.