Product Landing Page doubt

I was going through the Product Landing Page example provided by freeCodeCamp, and I don´t really get something that happens in html the code quite at the start:

This occurs just after closing the header. What´s the purpose of this line? Why is it empty? In CSS we see:

.container {
max-width: 1000px;
width: 100%;
margin: 0 auto;
}

Sorry if the question is too obvious. I´m a beginner. And thank you so much ! :slight_smile:

I never noticed that before.
Because it is empty it does nothing but if you scroll down past the section that follows you’ll see there is a div with class="container" and it is used to contain the remaining three sections and the footer.

The sample projects were written by humans and it looks like a small, albeit harmless, piece of code was injected unintentionally.

If you like to see what the .container contains add the following line to the .container selector in CSS;
border: solid 1px red;

Thank you so much !!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.