Link to External Pages with Anchor Elements/

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
 <a href="https://freecatphotoapp.com">cat photos</a> 
  
  
  <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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements

Hey Pothula-sai,

Please try to replace the https on the beginning of your url to http (without the ‘s’ in the end).

Like so:
<a href="http://freecatphotoapp.com">cat photos</a>

Here are some of the differences between http and https:

    1. HTTP URL in your browser’s address bar is http:// and the HTTPS URL is https:// .
    1. HTTP is unsecured while HTTPS is secured.
    1. HTTP sends data over port 80 while HTTPS uses port 443.
    1. HTTP operates at application layer, while HTTPS operates at transport layer.
    1. No SSL certificates are required for HTTP, with HTTPS it is required that you have an SSL certificate and it is signed by a CA.
    1. HTTP doesn’t require domain validation, where as HTTPS requires at least domain validation and certain certificates even require legal document validation.
    1. No encryption in HTTP, with HTTPS the data is encrypted before sending.

You can read more about the difference between http and https here: https://www.keycdn.com/blog/difference-between-http-and-https

Let me know if it works for you.
:slightly_smiling_face:

3 Likes

thanks brother. it works.
i stucked for last one day in this level. thank u so much

2 Likes

I’m happy to help,
Happy coding! :slightly_smiling_face: