I know PG’s internal server is a mystery one serving pure html/css/js…
This has been hitting me for a long time, really frustrating… but would like to understand if it’s PG’s fault or not. In my code snippet (included at end):
both img tags gets literally the same src starting with a / (slash).
while PG shows one img correctly, It doesn’t pickup the other image
when I open the same page in vscode live server, both images are displayed correctly
WHY this anomoly?
Related stackoverflow discussion here - What does “./” (dot slash) refer to in terms of an HTML file path location?