Build A Tribute Page-Adding images


#1

I’m having a hard time adding an image to my tribute page. I searched google image, found an image I wanted to use and then copied the url to that image. When I insert it into my html and run it, the photo doesn’t appear. It’s just the photo icon along with my alt attribute? What am I missing here? Am I not allowed to use google images?


#2

could you please share your code that didn’t work properly?


#3

yes!

Tribute Page

Kurt Vonnegut

Great American Novelist

portrait of Kurt Vonnegut

helksdflkjdsf


#4

#5

<img src=“http://historythings.com/wp-content/uploads/2016/06/1322601010251.cached.jpg

I used this link as a source, and it worked.


#6

errr I don’t know how to make it just show the code without it running.


#7

Thank you! I was copying the link from the share button that is why it wasn’t working. So embarrassing haha.


#8

nothing is embarrasing while you’re learning something :slight_smile:


#9

For future reference, you can also use your own image in your codepen (instead of relying on Google images) by uploading it to an online service. Here’s a free online image hosting service.