# Need help integrating code wrote on Edittext to the Discourse

**URL:** https://meta.discourse.org/t/need-help-integrating-code-wrote-on-edittext-to-the-discourse/285204
**Category:** Development
**Created:** [November 11, 2023, 8:05pm UTC](https://meta.discourse.org/t/need-help-integrating-code-wrote-on-edittext-to-the-discourse/285204 "2023-11-11T20:05:13Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [November 12, 2023, 12:22am UTC](https://meta.discourse.org/t/need-help-integrating-code-wrote-on-edittext-to-the-discourse/285204/2 "2023-11-12T00:22:19Z")

</div>

Hi,

You would want to insert the JS in _Head_ instead to make it work!  
Also, be careful with the `button` CSS – you should make a specific selector to avoid overwriting the default CSS.

Ideally, you want to create a [theme component](https://meta.discourse.org/t/beginners-guide-to-developing-discourse-themes/93648/1), and use an [outlet](https://meta.discourse.org/t/using-plugin-outlet-connectors-from-a-theme-or-plugin/32727/1) to handle HTML/logic. I can show you later!

---

_[View the full topic](https://meta.discourse.org/t/need-help-integrating-code-wrote-on-edittext-to-the-discourse/285204)._
