Can any one tell why my code of "Nest an Anchor Element within a Paragraph" is not working?

Here is my code

<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;
      border-radius: 10px;
  }
</style>

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

<img class="smaller-image thick-green-border" src='//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/freecodecamp/original/3X/6/1/61a3499c5abb165be990aa0c1abd23342e60c663.jpg' alt="A cute orange cat lying on its back. ">
<p>View more <a href="http://freecatphotoapp.com">cat photos</a></p>
<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>

And please tell me if there is some other way to get help

can you paste your full code? (including the code after style tags)

I cleaned up your code.
You need to use triple backticks to post code to the forum.
See this post for details.

What do you mean by “not working”? What test is failing? What part is not behaving as expected?

Please include a description of your problem when you ask for help instead of just pasting code.

tell me the Challenge No. and i will guide you in this Problem.

You changed the anchor url - you have

<a href="http://freecatphotoapp.com">

it should be

<a href="http://www.freecatphotoapp.com">

The first test case clearly says

You need an a element that links to “http://www.freecatphotoapp.com”.

1 Like