Go easy on me, I'm VERY new and trying to learn. But simply I guess, trying to find a way to display images with javascript from a local file. I'm just trying to learn through tutorials and practice but any time I want to use an image, it has to be from an outside website apparently?
eg - ButtonImg.src = "https://somesite/button.png";
But I would like to use just some graphics of my own. Why can't I do something like,
ButtonImg.src = "/home/username/public/button.png";
Thanks in advance for any help, would make learning so much easier.