article element flexbox issue

Hi, so i'm trying to make this a flexbox with the h2 and p on the left and the image on the right but if i do this as it is, html validator yells at me saying that i need the h2 to be a direct child to the article element. How else am i suppose to group the h2 nd p within the article tags without having them in a parent div to make a flexbox? @Kevin
<article> <div> <h2>lorem ipsum</h2> <p>lorem ipsum veteri ingnisei</p> </div> <img src= "/pathtoimage" alt= "some image"> </article>
Was this page helpful?