Cat photo app step 14

Step 14

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.

Here is the code:

      <p>Click here to view more <a href="https://freecatphotoapp.com">cat photos</a>.</p>

I don’t understand how to create a target.

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Just write the word target into the opening tag of the anchor element.
Then write an equal sign.
Then write the value given to _blank in double quotes

makes sense thank you!!

don’t understand how to create a target.

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.