Build a Cat Photo App - Step 8

Tell us what’s happening:

Based off of my code what is the issue im? I belive i have it all it says my link is either ommited or mistyped but i copied and pasted the link

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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 8

https://www.freecodecamp.org/learn/full-stack-developer/workshop-cat-photo-app/step-8

Hi there!
Let’s compare your code with the example:

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

Yours:

Do you see some differences around src?

It looks like you’re still trying to get the hang of how to make attributes work. When you use punctuation like “ or = you’re giving specific commands and information to the browser. Think about what you’re trying to accomplish with that line of code and then go through what you typed and think about why that word, letter, or punctuation mark is there and what it accomplishes.

Hey thanks for the help i added the = sighn and fixed the quotes location it worked

thanks

1 Like

You’re welcome! Also note, img is a void tag, no closing tag is needed

1 Like

that makes more sense

:slight_smile:

1 Like