How to create add Borders Around Your Elements

Tell us what’s happening:
I have created the thicker class and it’s three properties also applied this to the img element but when I tried to run it says: 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.
though you see I have done every thing

Your code so far

<link href="" rel="stylesheet" type="text/css">
.red-text {
  color: red;
  .thick-green-border {
  border-width: 10px;
  border-style: solid;
  border-color: green ;

h2 {
  font-family: Lobster, monospace;

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

.smaller-image {
  width: 100px;

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

<a href="#"><img class="smaller-image thick-green-border" src="" alt="A cute orange cat lying on its back."></a>

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

<form action="/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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363.

Challenge: Add Borders Around Your Elements

Link to the challenge:

Merely looking at your code, i pointed out this --You shouldn’t have 2 curly braces.
This is wrong:

it should be this:

.red-text {

color: red;

.thick-green-border {

border-width: 10px;

border-style: solid;

border-color: green ;