Where can i find png urls to put in my code


#1

hello i want to know a website i can bring png urls from


#2

@theendermasteryt

www.freepik.com
http://pngimg.com
from
all-free-download.com
http://all-free-download.com/free-photos/png-image.html
http://all-free-download.com/free-photos/3d-png-images.html
or as @theendermasteryt mentioned
http://www.flaticon.com/free-icon/ninja-portrait_13143

Do NOT use
http://www.freepngimg.com/

AND
please virus-check the file !!!!!


#3

do i have to download the png? when i download the png how do i put it in my code?


#4

that depends, for codecademy? don't download the image, copy the image url (image location) and use it as value for the src attribute of your image tag


#5

so i go to the image right click then copy image link right?


#6

You can either link to the original images source by using

<img src="linkToPng.com"/>

Or if you want the file within your repo organise your code base like so;

Project.folder
 -> index.html
 ->img
   -->png.png
 ->css
   -->stylesheet.css

And then within your code link to the root of the file like so:

<img src="img/png.png"/>

#7

yes that's correct :smiley:


#8

thanks for helping me guys
:smiley:


#9

you like:


#10

oops i mean like:

<img src="picutrelink" />

and the picture link is this:
http://www.flaticon.com/free-icon/ninja-portrait_13143


#12

<img src="http://image.flaticon.com/icons/svg/13/13143.svg"/>

#13

Thank you so much for your help :smiley:


#14

but one more thing if you dont mind is there like a following system here cuz i want to follow you befriend you is it possible?


#15

Erm I'm pretty new to this forum too so I'm not too sure about 'following' but you can follow me on twitter and ask me questions or tweet me links to your posts if you like.. :mortar_board: :computer: :satellite:


#16

id love to follow you


#17

and now you are followed XD dont look back tho you might see me following you


#18

lol I didn't get a following notification? Do you have twitter?


#19

yes
and i followed you check again cuz i followed you


#20

There we go dude good luck with the programming

I would advise posting your questions on this forum and then linking me to them via twitter that way you can format your code :smiley: