Asking for help again

While doing my technical documentation page I not passing some test that I thought I included in the code. My header was first in each section but when clicking test it says its not there along with a couple other items. help please.

A Pen by scott (codepen.io)

@srandall your header element should be the first element of the section element. In your code the img tag is a first element.

Hey @srandall,
In your pen each main-section contains img and then header, but tests check that, header should be the first child of main-section

Just replace the position of header and img, and all tests will pass.

Now I feel foolish, I added them in last minute and forgot they were even there. Thanks guys

1 Like