Help on writing target attribute. "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."

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more target="_blank <a href="">cat photos</a></p>
    <img src="" alt="A cute orange cat lying on its back.">
  **Your browser information:**

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

Challenge: Step 13

Link to the challenge:

You added the target attribute to the paragraph element, the challenge says to the ancor element like so:

<a href = "ancor link"  target = "value you want">
    I am the ancor element


@hwapipi It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

You can post solutions that invite discussion (like asking how the solution works, or asking about certain parts of the solution). But please don’t just post your solution for the sake of sharing it.
If you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

1 Like

Dear N.R.:1.Because my English is not good if to hint somebody’s question I will be afraid to describe no good details for asker. Many sorriness!
2.O.K.I will attemp to try use with ,.

Please don’t post solutions. I have edited your post to remove the solution.

This is a href attribute.

This is a src attribute.

This is an alt attribute.

The target attribute is added the same way as these three attributes, but with the value of "_blank".

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.