Add Borders Around your Elements. i got through the problem but it was not the correct answer to the solution, now im confused on why it let me pass when it was wrong

Add Borders Around your Elements. i got through the problem but it was not the correct answer to the solution, now im confused on why it let me pass when it was wrong
0

#1

Tell us what’s happening:

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>

<img class="thick-green-border"</img>

<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/66.0.3359.181 Safari/537.36.

Link to the challenge:


#2

What do you mean when you say that it is not the correct answer?


#3

it put a green box at the top left instead of a green border on the cat picture like in the next exercise. so im a bit confused on why it let me pass. so if i did get it correct… why would it make a green square at the top left of the app and not apply it to the cat picture. that is why i am assuming that it is not the solution and also why i’m confused. please help me understand what happened.


#4

You made the class correctly and you put it on an image. The tests just didn’t recognize that you put it on the wrong image tag. You can submit a GitHub issue to improve the tests.


#5

thank you ill make sure to make a post on GitHub. can you show me the correct image tag? its really bugging me :smile:


#6

You didn’t need to add a new image tag. Delete the one you added and just put the class on the image class that you’ve been working with in previous challenges.


#7

oh okay thank you so much for your time. now i gotta figure out how to post it on GitHub :smile: i’m new to this stuff but ill figure it out.