Add Borders Around your Elements I dont understand

Add Borders Around your Elements I dont understand
0

#1

Tell us what’s happening:
Where am I to place the border command

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" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. ">

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36.

Link to the challenge:


#2

You are on the right track. You put:

  .thick-green-border 
    border-color: green
    border-width: 10px;
    border-style: solid;

inside the style tags, which is correct, but you need to surround all the property/value pairs with a { and }. Also, make sure you put a semi-colon at the end of each value of the property. You are missing one after green above. See below for how the challenge defines a class called smaller-image (note the location of the { and })

  .smaller-image {
    width: 100px;
  }

Once you correct your selector definition for the class thick-green-border, you still need to add it to the class attribute of the img element. The instructions even tell you how to do that with the following note:

Remember that you can apply multiple classes to an element by separating each class with a space within its class attribute. For example:

<img class="class1 class2">