This is a easy challenge i think so but i am unable to do it can anyone please help me out with this i just checked the video but it did'nt work for me

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more 
  <a> href="#" target="_blank">cat photos </a>.
  </p>

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

<p>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>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0.

Challenge: Make Dead Links Using the Hash Symbol

Link to the challenge:

Hey @tweety.17!

I would reset the challenge and do this.

<!--Here is the original-->
<a href="https://freecatphotoapp.com" target="_blank">cat photos</a>

<!--new code-->
<a href="<!--change me-->" target="_blank">cat photos</a>

Hope that helps!

1 Like

Hi @tweety.17,
The problem is on this line:

<a> href="#" target="_blank">cat photos </a>

The attributes ( href, target ) must be inside the opening tag <a>.
Looked like you closed the opening <a> tag by mistake. It should be:

<a href="#" target="_blank"> cat photos </a>

Don’t stress it as these things can happen to anyone. Happy coding!

1 Like

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

You can post solutions that invite discussion (like asking how the solution works, or asking about certain parts of the solution). But please don’t just post your solution for the sake of sharing it.
If you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

2 Likes

Your attributes are not inside you <a> tag. Hope that helps! Happy Coding! :smile:

1 Like

Thank you for your help. I just tried this and the code worked thank you so much

oh i am really sorry about this i am just starting and i didn’t knew about this i will be sure to do this from next time.Thank you

Yeah Thankyou it just worked and i am happy.

1 Like