Why arise the "target"?

The task from lesson 65 is
Inside the footer , add a p element. Then, nest an anchor ( a ) element in the p that links to https://www.freecodecamp.org and has the text Visit our website .

but when you are going to task 66 you are got
Visit our website

The question is where from arise the “target” ??? In the task said nothing.

Thank you, Nikolay.

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36

Challenge: Step 67

Link to the challenge:

you linked step 67 which says add a self closing hr element but i think your asking about something else.

if your question is about target="_blank" … you use this so when you click the link the link opens in new tab instead of opening in the same tab.

so if you dont want the user to leave your website while for example opening a link that takes him to Wikipedia. simply add target attribute with value _blank (target="_blank") to your link and the link will open in a new tab

1 Like