Cat app step 13 Help

Tell us what’s happening:
Describe your issue in detail here.
Hi apologies to post this question as i have seen it anwsered on the site but even with the responses given I am still stuck. any help would be appreciated

  **Your code so far**

    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a href="">cat photos</a_blank>.</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/101.0.4951.67 Safari/537.36

Challenge: Step 13

Link to the challenge:

What are you trying to accomplish?
What part isn’t working?
What do any failing tests say?

this is not a valid html tag

hello, thankyou for taking the time to respond. I am trying to add a target with the attribute _blank in the right place. its saying my anchor a element does not have a target attribute.

In HTML there are three main components. These components are element, attribute and value.

Whether you know it or not you have been using elements all along. Elements are tags such as <body> and <p>

Within elements you can assign what is known as an attribute. All attributes are assigned a value. For example, id and class are attributes.

To apply values to these attributes within the elements you would put them all together like so:

<p id="example-id">This is a <p> element with the attribute id and assigned the value of example-id.</p>

<p class="example-class">This is a <p> element with the attribute class and assigned the value of example-class.</p>

With the above examples you should be able to add the target attribute with the value of _blank to the appropriate anchor element. If you do not know how to correct any changes you have made you can click the Restart Step button at the top center of the page.

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