In the lesson, ‘CSS Flexbox: Align Elements Using the align-items Property’, we’re taught about ‘align-items’. align-items and justify-content work on different axis, right? So, ideally, there can’t be a case where we would be using these two together or am I wrong?
I think if we use these two together, no matter what properties we set, it won’t have any effect on the CSS, right? (Atleast this is what happened with me)
Also, what is the need of using align-item? Like, if you have a stack of divs and you want to style it vertically, then just use ‘flex-direction: column’ and ‘justify-content’ with it. ‘align-item’ is basically doing the same thing, it’s actually changing row direction to column and vice versa