Help understanding this pink error code

Here are two versions of the same web page project.
The Pink Error code shows up on the first one, yet it DOES have the final

The 2nd one does not show the Pink Error code, yet it DOES NOT have the final

Any insight would be very helpful!

With closing

Without closing


Normally, a list (and <hr> tags) shouldn’t be put inside a paragraph.

html is very forgiving so it will still try and render the page anyway, though.

I’m guessing the one that is throwing the error is because it sees a closing </p> tag right after a list and an <hr> tag.

You would be best closing the paragraph after line 9.