Cat Photo : Img Src step

Hello been on this step for hours trying to figure out why it’s wrong… and extra set of eyes would help

  **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 cat photos.</p>
    <img>
<source>=https://cdn.freecodecamp.or            g/curriculum/cat-photo- app/relaxing-cat.jpg
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 15_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Mobile/15E148 Safari/604.1

Challenge: Step 8

Link to the challenge:

this is not how you give an attribute to an element

an attribute is written in the opening tag of the element like so

<elementName attr="value">

Read the text for each step carefully. The instructions explain and give you everything you need to pass.

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