# Issues with importing files in HTML

**URL:** <https://discuss.kotlinlang.org/t/issues-with-importing-files-in-html/21876>\
**Category:** Web Development\
**Created:** [May 19, 2021, 11:22am UTC](https://discuss.kotlinlang.org/t/issues-with-importing-files-in-html/21876 "2021-05-19T11:22:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alzomins](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@alzomins](https://discuss.kotlinlang.org/u/alzomins)\
**Post date:** [May 19, 2021, 11:22am UTC](https://discuss.kotlinlang.org/t/issues-with-importing-files-in-html/21876/1 "2021-05-19T11:22:33Z")

</div>

Hi all,

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

![1](https://us1.discourse-cdn.com/flex019/uploads/kotlinlang/original/2X/2/21eeebeae816efb180a37bf6dd1aa732c08a1e9c.png)  
 ![2](https://us1.discourse-cdn.com/flex019/uploads/kotlinlang/original/2X/f/ff15ebe720346e36752e2568362e4712b45d1546.png)

 ![3](https://us1.discourse-cdn.com/flex019/uploads/kotlinlang/original/2X/c/c1141467c591f8a9fd6cd0c45b53956276cbb34a.png)  
 ![4](https://us1.discourse-cdn.com/flex019/uploads/kotlinlang/original/2X/8/8aa88a0566f99b91081f13e619c9187fdf308362.png)

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.
