Https://www.codecademy.com/paths/web-development/tracks/learn-html-web-dev-path/modules/learn-html-elements/lessons/common-html-elements/exercises/linking-same-page-html

Why do we have to leave the line

after wrapping each item of the unordered list in a anchor element?
2 Likes

You don’t, it just makes it easier. This line of code works:

<p>Hello</p><p>Hi</p>

Output:

Hello

Hi

I hope this helps =)