Help! What am I doing wrong?! I can't get this

They’re asking for this -

Your img element should have the class smaller-image .
Your img element should have the class thick-green-border .
Your image should have a border width of 10px .
Your image should have a border style of solid .
The border around your img element should be green.

and I’ve done this -

**<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">**
**<style>**
**  .smaller-image; {**
**  }**
**  .thick-green-border; {**
**    border-color: green;**
**    border-width: 10px;**
**    border-style: solid;**
**    }**
**  .red-text {**
**    color: red;**
**</style>**

**  h2 {**
**    font-family: Lobster, monospace;**
**  }**

**  p {**
**    font-size: 16px;**
**    font-family: monospace;**
**  }**

**  .smaller-image {**
**    width: 100px;**

**  }**
**</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 class="smaller-image" class="thick=green border" src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>**
**      **
**```css**

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.

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

You stuck a bunch of random ** in your code, so its very hard for me to copy and test your code.

I’m sorry about that!

Ok. Thank you so much!

check the class you named => thick(what)green border Vs what istructions ask for.

[quote=“Glenda9031, post:1, topic:497549”]

.thick-green-border; {    <= // Check this line for something that shouldn't be their
**    border-color: green;**
**    border-width: 10px;**
**    border-style: solid;**
**    }**

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