# Resource folder in the webos project creating issue

**URL:** <https://forum.webostv.developer.lge.com/t/resource-folder-in-the-webos-project-creating-issue/4454>\
**Category:** Web App Development\
**Created:** [November 16, 2023, 7:18pm UTC](https://forum.webostv.developer.lge.com/t/resource-folder-in-the-webos-project-creating-issue/4454 "2023-11-16T19:18:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Twisha](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Twisha](https://forum.webostv.developer.lge.com/u/Twisha)\
**Post date:** [November 16, 2023, 7:18pm UTC](https://forum.webostv.developer.lge.com/t/resource-folder-in-the-webos-project-creating-issue/4454/1 "2023-11-16T19:18:40Z")

</div>

Hi there

I have webos app code in which I have one resource folder which has fonts and images and it’s name is static like above screenshot  
but when I’m creating bundle package and installing app on tv I’m getting error RegRoboto.ttf:1 Failed to load resource: net::ERR\_INVALID\_URL  
DOMException: A network error occurred.

so is this a case that I’m missing that folder or is there any other way to include?

Thanks in advance.

 ![all](https://canada1.discourse-cdn.com/flex030/uploads/webostv/original/1X/35e5e165f624efcd9a10a8a16c448fc87e601b4e.jpeg)

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [November 17, 2023, 1:51am UTC](https://forum.webostv.developer.lge.com/t/resource-folder-in-the-webos-project-creating-issue/4454/2 "2023-11-17T01:51:30Z")

</div>

You can access app assets relative to the location of the [index.html](https://webostv.developer.lge.com/develop/references/appinfo-json#main) file within your package structure. From the index.html file, you can refer to a font in the assets directory as follows:

```auto
<style>
@font-face {
    font-family: AlexBrush;
    src: url('assets/AlexBrush-regular.ttf');
}
h2 {
    font-family: AlexBrush;
}
</style>

```

And from a CSS file located in source/css as follows:

```auto
@font-face {
    font-family: AlexBrush;
    src: url('../../assets/AlexBrush-regular.ttf');
}
h2 {
    font-family: AlexBrush;
}

```

For more information, please refer to [App Resources](https://webostv.developer.lge.com/develop/getting-started/app-resources). Thank you.
