Learn HTML by Building a Cat Photo App - Step 8

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

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>
      <img src='https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jng'
      .>
    </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/106.0.0.0 Safari/537.36

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

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

Struggle with the <img src=‘https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jng’.>

the img should end like this: .jpg'>
not the way you wrote it

i tried code didn’t pass

please show the new code

please follow these instructions to show the code

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Hello World

type or paste code here

type or paste code here

<img src=‘https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jng’.>

``Preformatted text```

Hello world


type or paste code here

<img src='https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg'.>
 <p> wrong code I used jng instead of jpg</p>

My code is working now. Thank you

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