I found a cool idea for the site on YouTube, I started posting the code just like in the video link: (https://www.youtube.com/watch? v=9jyL2jREbZs&t=1s) but at 12:03 the author deletes images from html and shows that they are in the js file, also prescribed, but for some reason I can’t see images on the site, especially since js does not see my jpg images (although the paths are correct). Help me solve this problem, please!
https://codepe(n).io/ytpnqzjr-the-solid/pen/oNRNOmw (codepen)
I started googling furiously hoping to find a solution to this problem, I didn’t find anything that could help me. I’m just starting to code and wanted to analyze this code from YouTube for myself, but I had problems, I want it to be like in the video, so that the pictures scroll through when using the script, the diagram is like cases in the popular game – csgo.
Kuma is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.