Can any one help me on html step14

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

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

Link to the challenge:

You’ve got an extra space at the beginning of the URL that the tests don’t like.

In general, I would avoid adding extra spaces anywhere they are not needed. While technically the extra space here won’t stop the link from working in your browser, it is not a best practice to have a space there and you would never do that in real production code. So get in the habit now of not adding these spaces.

I would also check the nesting of your <a> tag
It’s on the same level as your <html> tag and probably needs to be tabbed over twice and nested within your <main> tag.

Yes, formatting is important for readability, but it’s not essential here and the tests aren’t checking for it.

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