Add Images to Your Website help needed

Add Images to Your Website help needed
0

#1

Tell us what’s happening:
it says i need to have a src attribute that points to the image what does this mean?

Your code so far


<img src="https://bit.ly//fcc-relaxinf-cat" alt="Cat relaxing.">"
    <h2>CatPhotoApp</h2>
<main>
  
  
  <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 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/add-images-to-your-website


#2

For the image to show up on the page the src attribute points to the url or file path that the image is stored.

Possible values are

  • An absolute URL - points to another web site (like src=“http://www.example.com/image.gif”)
  • A relative URL - points to a file within a web site (like src=“image.gif”).

In your code so far the src points to an absolute url, likely another website.


#3

the image does show up but when i say run test it says to point the src @DZamora54


#4

Your image tag needs to be nested inside the ht tag.


#5

whats an ht tag? @dzamora54


#6

Sorry, I meant to type h2. But the issue seems to be the extra “/” between .ly and fcc


#7

yep that worked thanks