How can I insert an image in html for the Codepen project?

How can I insert an image in html for the Codepen project?
0

#1

I have been searching on Google to find images and inserting them into the code below:
<img class=“smaller-image;“src=”//embedr.flickr.com/assets/client-code.js"alt="Harry Potter”/>

When I insert the src used in the html practice guide it works, but no src that I am finding online is working.


#2

Make sure that you’re using a URL for an image (jpg, png, gif). Your URL here is for a JavaScript file.

If you’re using an image from a Google search, click the button that says “View Image”, then use that URL.


#3

Try in this way :slight_smile:
<img src = "”//embedr.flickr.com/assets/client-code.js"alt="Harry Potter”/ class=“smaller-image”>