Is <a href> bug still issue in Basic HTML

Tell us what’s happening:
I am told Create an a element that links to http://freecatphotoapp.com and has “cat photos” as its anchor text .

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>


<a href ='http://freecatphotoapp.com'>cat photos</a>
<img src="https://www.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>

T H A N K S !!!

  **Your browser information:**

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

I think that your url is wrong

Create an a element that links to https://www.freecatphotoapp.com and has “cat photos” as its anchor text.

you need double quotes"" instead of single’ ones. you might need a (s) in http

use " instead of '

@JeremyLT is correct, the choice of single vs double quotes makes no difference in HTML syntax. The issue is a wrong URL. Specifically, they want https://www. instead of http:// URL.

You can see the correct URL to copy right above the Run The Tests button.

Thanks for the tips. The “s” in https doesn’t seem to make a difference. I changed the parentheses to double as well. No change. I’m stuck!

the link - href=“https://freecatphotoapp.com” -is not correct. use - href=“https://www.freecatphotoapp.com

1 Like

theres more issues than just the s, you are also missing www.

1 Like

You are correct. The link worked anyway but I guess it wasn’t really up to code. Thank you

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.