How can I use images from my system in an array not online images

I am new to JavaScript still learning, need help, I am watching a tutorial video where an array was created and some images where assigned from an online link, but I don’t want to use the image from online , I have some images on my system and that what I want to use but I don’t know how?

Create a folder “img” (or any name) in your project folder, then copy there all the images you need. Then you can change the links in the array with:
"img": "img/image.jpg"
Or you can just copy the images in your project folder and then you can change links with:
"img": "image.jpg"