I have this code:
line 15:
line 17:Add Your Favorite!
line 16:
And this error keeps popping up:
Error: Start tag body seen but an element of the same type was already open.
From line 15, column 1; to line 15, column 26
tent↩↩↩↩<but
Fatal Error: Cannot recover after last error. Any further errors will be ignored.
From line 15, column 1; to line 15, column 26
tent↩↩↩↩<but
I do have the end tag at the end of the entire HTML coding.
I have tried removing and adding them. What am I doing wrong? Please, again forgive my ignorance; this is only my 2nd week of learning all of this stuff in Java.
I have tried everything I know to do, removing, adding, validating, and moving the tags. I am not sure what this error means, as nothing I am doing is a remedy for this error. Once again, this was the exact code given by my teacher to play with. It worked perfectly fine in Code Pen, but doesn’t in Replit. Thank you to anyone in advance and all of those who have the patience and kindness to help. I really appreciate it.