Learn HTML by Building a Cat Photo App - Step 13

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

I couldn’t figure the answer
Your code so far

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more  <"target=“_blank” a 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.">
  </main>
</body>
</html>
  **Your browser information:**

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

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

Link to the challenge:

You have a couple of issues here.

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

All the issues are in your opening anchor tag:

 <"target=“_blank” a href="https://freecatphotoapp.com">

First of all, it has to start with the anchor:

<a ... >

Notice that your “a” is in no man’s land. It has to be at the start so HTML knows what kind of element this is.

Next, you have a quote mark before the target. Quotes go around the values, not the attributes.

Lastly, the quotes around the url are smart or curly quotes. Computer languages hate smart quotes ( or ) - they want dumb or straight quotes ("). Sometimes cut and paste will convert those, especially in word processors.

When I fix those, it works for me.

1 Like

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