Issues with importing files in HTML

Hi all,

I have exported files as below ( .js .d.js and package.json) and my own index.html page

1
2


4

after running a page in chrome, an error appears (Uncaught ReferenceError: helloWorld is not defined)

What should I do ?

Thanks

UPDATE: I am using Visual Studio Code to run this.