My index.html cant find my index.html

for some reason when i try to call my index.js that is in the root folder, bc it needs to be there to see my node modules, from my index.html file using it gives error 404 and i have tried many different ways ot try calling it and no luck what so ever. if anyone knows how to fix this issue your help would be greatly appreciated,

btw i have try to trouble shoot with chatgpt to since it has helped me trouble shoot other issues before but this time not luck, it tells me that what im doing should be correct