-2

I copied a code from W3C to make a slideshow for my website. I was writing my code on codepen and the images were appearing. Then when I copied my code to my editor (Sublime)to add to my html file,the images don't appear. I tried copy the code again from the W3C thinking I left a part of the code and nothing appears. I had the images saved on my computer and tried to put them instead of the image address that I copied from the website I got them from and it still doesn't appear. I attached some images to help understand what I'm doing wrong. I'm new at coding.

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

Alon Eitan
  • 11,997
  • 8
  • 49
  • 58

1 Answers1

0

Save your html file in parent directory of images(in your case it is pictures folder on your pc). I think that's why it's not showing the images. or copy your images to the project folder.

  • I moved the images folder to the folder where I had the html files and the image appeared. Thank you so much! Now I can add images to my website. – Black Cat 500 Feb 18 '20 at 16:48