Build a Cat Photo App - Step 8

Tell us what’s happening:

<img src=“https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat. jpg”.>

What is wrong in this code

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves cute cats online!</p>

<!-- User Editable Region -->

<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat. jpg"<img/>

<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Mobile Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 8

Hi

Take a look at the syntax of the example code for an img element. Compare to yours.

<img src="https://cdn.freecodecamp.org/platform/universal/fcc_secondary.svg">

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