# Insert JS code

**URL:** <https://forum.readymag.com/t/insert-js-code/4333>\
**Category:** Custom code\
**Created:** [February 6, 2025, 3:19pm UTC](https://forum.readymag.com/t/insert-js-code/4333 "2025-02-06T15:19:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Radu](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.readymag.com/radu/32/2915_2.png) [@Radu](https://forum.readymag.com/u/Radu)\
**Post date:** [February 6, 2025, 3:19pm UTC](https://forum.readymag.com/t/insert-js-code/4333/1 "2025-02-06T15:19:47Z")

</div>

I have the following pen [https://codepen.io/madeostudio/pen/rbqEMY](https://codepen.io/madeostudio/pen/rbqEMY) made from HTML, CSS, and JS. I am trying to add the carousel via the “RM code widget”, I get where to add the HTML code, I get where to add the CSS code, but where can I add the JS code in order to make the carousel work correctly?

Kind regards!

---

<div class="post-metadata">

**Author:** ![Radu](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.readymag.com/radu/32/2915_2.png) [@Radu](https://forum.readymag.com/u/Radu)\
**Post date:** [February 10, 2025, 8:25am UTC](https://forum.readymag.com/t/insert-js-code/4333/2 "2025-02-10T08:25:53Z")

</div>

It would be much appreciated if someone could help me. 🙃
