# Goodness help me please!

**URL:** <https://forum.freecodecamp.org/t/goodness-help-me-please/493141>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [January 18, 2022, 4:42pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141 "2022-01-18T16:42:38Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![laqueshasmith434](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/laqueshasmith434/32/183355_2.png) [@laqueshasmith434](https://forum.freecodecamp.org/u/laqueshasmith434)\
**Post date:** [January 18, 2022, 4:42pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/1 "2022-01-18T16:42:38Z")

</div>

I keep trying to fix it but it keeps saying : Your  
img element should have the class  
smaller-image" what the heck am I doing wrong???

```
  **Your code so far**

```

```html

<img>
<style>  
.smaller-image {
  width: 100px;
}
</style>

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
  color: red;
}

h2 {
  font-family: Lobster, monospace;
}

p {
  font-size: 16px;
  font-family: monospace;
}
</style>

<h2 class="red-text">CatPhotoApp</h2>
<main>
<p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

<div>
  <p>Things cats love:</p>
  <ul>
    <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>
  </ul>
  <p>Top 3 things cats hate:</p>
  <ol>
    <li>flea treatment</li>
    <li>thunder</li>
    <li>other cats</li>
  </ol>
</div>

<form action="https://freecatphotoapp.com/submit-cat-photo">
  <label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
  <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
  <label><input type="checkbox" name="personality" checked> Loving</label>
  <label><input type="checkbox" name="personality"> Lazy</label>
  <label><input type="checkbox" name="personality"> Energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>

```

```
  **Your browser information:**

```

User Agent is: `Mozilla/5.0 (X11; CrOS x86_64 14268.67.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.111 Safari/537.36`

**Challenge:** Size Your Images

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design/basic-css/size-your-images)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![Roma](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/roma/32/112899_2.png) [@Roma](https://forum.freecodecamp.org/u/Roma)\
**Post date:** [January 18, 2022, 4:50pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/2 "2022-01-18T16:50:05Z")

</div>

The message is telling you exactly what else you need to do to complete this lesson.  
You can [revisit this lesson](https://www.freecodecamp.org/learn/responsive-web-design/basic-css/use-a-css-class-to-style-an-element) regarding styling an element to refresh yourself.

---

<div class="post-metadata">

**Author:** ![Alfredocoding](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@Alfredocoding](https://forum.freecodecamp.org/u/Alfredocoding)\
**Post date:** [January 18, 2022, 4:56pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/3 "2022-01-18T16:56:43Z")

</div>

you should add class=“smaller-image” to your img element.  
read instructions one more time and you’ll get it.

---

<div class="post-metadata">

**Author:** ![laqueshasmith434](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/laqueshasmith434/32/183355_2.png) [@laqueshasmith434](https://forum.freecodecamp.org/u/laqueshasmith434)\
**Post date:** [January 18, 2022, 5:25pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/4 "2022-01-18T17:25:08Z")

</div>

i tried and it did not work

---

<div class="post-metadata">

**Author:** ![Roma](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/roma/32/112899_2.png) [@Roma](https://forum.freecodecamp.org/u/Roma)\
**Post date:** [January 18, 2022, 5:28pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/5 "2022-01-18T17:28:59Z")

</div>

What have you tried?  
Please show your complete code as it is now.

---

<div class="post-metadata">

**Author:** ![laqueshasmith434](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/laqueshasmith434/32/183355_2.png) [@laqueshasmith434](https://forum.freecodecamp.org/u/laqueshasmith434)\
**Post date:** [January 18, 2022, 5:30pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/6 "2022-01-18T17:30:54Z")

</div>

![]()

.smaller-image { width: 100px; }

---

<div class="post-metadata">

**Author:** ![Roma](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/roma/32/112899_2.png) [@Roma](https://forum.freecodecamp.org/u/Roma)\
**Post date:** [January 18, 2022, 5:36pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/7 "2022-01-18T17:36:08Z")

</div>

This is not your complete code. It’s one small snippet.

Your complete code will look like what was pasted at the top of this topic.

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.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (’).

---

<div class="post-metadata">

**Author:** ![laqueshasmith434](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/laqueshasmith434/32/183355_2.png) [@laqueshasmith434](https://forum.freecodecamp.org/u/laqueshasmith434)\
**Post date:** [January 18, 2022, 5:39pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/8 "2022-01-18T17:39:22Z")

</div>

```auto
<img class="smaller image">
<style>
.smaller-image {
width: 100px;
}
  </style>

```

---

<div class="post-metadata">

**Author:** ![laqueshasmith434](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/laqueshasmith434/32/183355_2.png) [@laqueshasmith434](https://forum.freecodecamp.org/u/laqueshasmith434)\
**Post date:** [January 18, 2022, 5:40pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/9 "2022-01-18T17:40:02Z")

</div>

it is showing up on my end so i do not know what is going on

---

<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:** [January 18, 2022, 6:07pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/10 "2022-01-18T18:07:43Z")

</div>

Please post your whole code, but anyway I’ve edited your post for readability. 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.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (’).

---

<div class="post-metadata">

**Author:** ![Alfredocoding](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@Alfredocoding](https://forum.freecodecamp.org/u/Alfredocoding)\
**Post date:** [January 18, 2022, 6:51pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/11 "2022-01-18T18:51:07Z")

</div>

there is missing dash symbol in your class name

---

<div class="post-metadata">

**Author:** ![xoxoKaralee](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/xoxokaralee/32/244414_2.png) [@xoxoKaralee](https://forum.freecodecamp.org/u/xoxoKaralee)\
**Post date:** [January 18, 2022, 7:58pm UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/12 "2022-01-18T19:58:56Z")

</div>

> [@laqueshasmith434](#):
>
> ```auto
> <img>
> <style>  
> .smaller-image {
> width: 100px;
> }
> </style>
> 
> <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
> <style>
> .red-text {
> color: red;
> }
> 
> h2 {
> font-family: Lobster, monospace;
> }
> 
> p {
> font-size: 16px;
> font-family: monospace;
> }
> </style>
> 
> ```

you have an img, then a style, then a link, then another style.  
probably best to just reset the step to start fresh, then add your new css to the existing style tags (where the other css is)

---

<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:** [July 20, 2022, 7:59am UTC](https://forum.freecodecamp.org/t/goodness-help-me-please/493141/13 "2022-07-20T07:59:04Z")

</div>

Closed on July 20, 2022, 7:59am UTC

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