Add a target
attribute with the value _blank
to the anchor (a
) element’s opening tag, so that the link opens in a new tab.
hello, looks like you need some help?
yes please i really need help
Can you give us some more information on what you are doing?
For eg. Post a link to the fCC challenge you are on?
And, post the code you are trying?
And, ask us a question?
<p>Click here to view more <a_blank href="https://freecatphotoapp.com"><a 'cat photos'</a>.</p>
i just started the html thus thus the first course so im on step 14 and the question is Add a target
attribute with the value _blank
to the anchor (a
) element’s opening tag, so that the link opens in a new tab.
can you add the link to the exercise also? (You don’t have to reply, you can just post it by editing your original post)
pls how to i add a link
from your browser, can you copy the characters at the top inside the field that shows the words freecodecamp.org? (it is the area that is next to the browser’s refresh button underneath the tabs?)
Originally you were shown this line of code:
<p>Click here to view more <a href="https://freecatphotoapp.com">cat photos</a>.</p>
You must not change this line by deleting anything.
You must only add code.
Please click the Restart Step button to try again.
Remember that an HTML attribute is just something that always looks like this:
word="value"
And you replace the “word” part with the name of the attribute like target in this case.
And replace the “value” with the value of the attribute which is “_blank” in this case.
hope this helps
thanks so much i am working on it
please have you been able to pass this ive been stuck
If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
Thank you.