Learn HTML by Building a Cat Photo App - Step 15

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 <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back." <a href="https://freecatphotoapp.com"</a>"

Your browser information:

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

Challenge: Learn HTML by Building a Cat Photo App - Step 15

Link to the challenge:

You have not specify the exactly problem with your code, but i can see a lot of errors in it. First, you have nested an anchor element within p element with the dot after anchor closing tag. Secondly, I think the good strategy is to define the href attribute before defining target attribute, this is because the _blank value defines your link which has been specified in href to be opened in a new tab. Third, go through your img element you missed something there.


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