I can’t find what’s the problem with my code. It says that my image is not responsive to the media query. I tried what I learned using @media as part of CSS, but it does not seem to be working. Please help me.
Well I guess removing /html is not enough. As I check again your code in the ling I provided it throws so many nesting errors.
Iwould recommend to you to re-code the html file with care of nesting rules. Because which element is the parent and which is the child are not clear.
This selector isn’t correct img.center. For that to apply its CSS the img element would have to have a class of .center applied to it, which it does not.
When setting the flex-direction to column how the properties justify-content and align-items affects the child flex items switch around.