# Need help with theme component Github

**URL:** <https://meta.discourse.org/t/need-help-with-theme-component-github/326873>\
**Category:** Development\
**Created:** [September 17, 2024, 2:31pm UTC](https://meta.discourse.org/t/need-help-with-theme-component-github/326873 "2024-09-17T14:31:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Post date:** [September 17, 2024, 2:31pm UTC](https://meta.discourse.org/t/need-help-with-theme-component-github/326873/1 "2024-09-17T14:31:25Z")

</div>

I apologize as still a complete noob.

I am working in creating a theme component  
I have imported the theme component skeleton.

I have created a javascript and added the file to

Javascript\Discourse\Initializers\Discourse\_foo.js

From my understanding this file needs to be called by the script tag in header?

```plaintext
<script src="discours_foo.js"></script>

```

Looking over a few other theme components have not seen them have a file called header.css? Calling to the js scripts they are using.

Any guidance is really appreciated to improve my understanding

Thank you

---

_[View the full topic](https://meta.discourse.org/t/need-help-with-theme-component-github/326873)._
