Issue with showing HTML Code on webpage, affecting html formatting and css background color

Hello there,
I am having some difficulty figuring out how to properly use the

 and  tags when within a .

I am having problems with indenting which is why my code does not look properly formated. Furthermore, for this project challenge, any elements must have a different background color, but the indenting is adding extra white space and an ugly effect.

below is the link to my code pen for viewing, I would greatly appreciate your help.

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