Hey I donknow what happened,the border is not working and y don we use one class zat is the one which was zer and we can use it for both the border style

Tell us what’s happening:
.red-text {
color: red;
}

h2 {
font-family: Lobster, Monospace;
}

p {
font-size: 16px;
font-family: Monospace;
}

.smaller-image {
width: 100px;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
}

CatPhotoApp

<img class=“smaller-image” “thick-green-border” src=“https://bit.ly/fcc-relaxing-cat” alt="A cute orange cat lying on its back. ">

Your code so far

<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;
  }

  .smaller-image {
    width: 100px;
  }
  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<img class="smaller-image" "thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. ">

class=“smaller-image” “thick-green-border”

should be

class=“smaller-image thick-green-border”

I’m stuck on the same bit. I can get the green border by putting a 1 next to class but then the image goes larger, cant get both

You can put as many classes as you want, just use one set of quotes with a single space between each class.

1 Like

Excellent Got it, thanks alot :slight_smile:

1 Like

oh thank u i hvnt noticed it,it worked

1 Like

Don’t separate the classes by quotes. A space is what’s needed. In css class names use a dash instead of space to prevent mix ups.

Welcome to the fourms. Try to use a shorter title name and add more of a description. This attracts a boarder range of people. Happy coding :smiley: we are here to help.