# Build a Cat Photo App - Step 8

**URL:** <https://forum.freecodecamp.org/t/build-a-cat-photo-app-step-8/780166>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [February 25, 2026, 9:02am UTC](https://forum.freecodecamp.org/t/build-a-cat-photo-app-step-8/780166 "2026-02-25T09:02:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![9263453](https://avatars.discourse-cdn.com/v4/letter/9/73ab20/32.png) [@9263453](https://forum.freecodecamp.org/u/9263453)\
**Post date:** [February 25, 2026, 9:02am UTC](https://forum.freecodecamp.org/t/build-a-cat-photo-app-step-8/780166/1 "2026-02-25T09:02:26Z")

</div>

### Tell us what’s happening:

need help on step 8 responsive web design, i was asked to add a stc at the existing img, i have tried typing it in all way i know how, please help stuck, its keeps saying i must check my typo.

### Your code so far

```html
<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 

<!-- 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/145.0.0.0 Safari/537.36 Edg/145.0.0.0`

### Challenge Information:

Build a Cat Photo App - Step 8

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design-v9/workshop-cat-photo-app/step-8)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [February 25, 2026, 9:04am UTC](https://forum.freecodecamp.org/t/build-a-cat-photo-app-step-8/780166/2 "2026-02-25T09:04:12Z")

</div>

look at the example, notice that the attribute is inside the angular brackets `<>`

you still have only `<img>` with nothing more before the closing bracket `>`

do you think you can update your code to have the `src` attribute before the closing bracket?

---

<div class="post-metadata">

**Author:** ![be\_happy](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/be_happy/32/339839_2.png) [@be\_happy](https://forum.freecodecamp.org/u/be_happy)\
**Post date:** [February 25, 2026, 6:22pm UTC](https://forum.freecodecamp.org/t/build-a-cat-photo-app-step-8/780166/3 "2026-02-25T18:22:55Z")

</div>

> [@9263453](#):
>
> `<img> src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg `

Hi buddy, by mistakenly you have throw out the `src element out of the img element`

Kindly do put it inside the img element in order to get your img look in the output.

---

<div class="post-metadata">

**Author:** ![ianmccully](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ianmccully/32/351842_2.png) [@ianmccully](https://forum.freecodecamp.org/u/ianmccully)\
**Post date:** [March 2, 2026, 10:59pm UTC](https://forum.freecodecamp.org/t/build-a-cat-photo-app-step-8/780166/4 "2026-03-02T22:59:00Z")

</div>

` ![]() this is a self closing tag so you need the whole src inside the img tag if you know what i mean thanks Ian.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [March 30, 2026, 10:59pm UTC](https://forum.freecodecamp.org/t/build-a-cat-photo-app-step-8/780166/5 "2026-03-30T22:59:34Z")

</div>

Closed on March 30, 2026, 10:59pm UTC

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