In the code what is the need for hr tag in 12th line of index.html
sounds like a good question for documentation:
And also what does the section element mean immediate after the body open tag ???
again, have you checked documentation? MDN also has documentation