# Custom JS

JS (Javascript) is a scripting or programming language that allows you to implement complex features on web pages.

We attached a JS file in Bonnita source so that you can customize the site by yourself.

**Step 1:  Enable the Custom JS file:**

1. From your Shopify admin, go to **Online Store** **->** **Themes**.
2. Find the theme that you want to edit, and then click **Customize**.
3. Click **Theme Settings ->** scroll down to the bottom -> **Custom JS.**

![](/files/20uj2IRMpGcc3v0O1zs6)

**Step 2:  Edit the Custom JS file:**

1. From your Shopify admin, go to **Themes** **->** **Actions** **->** **Edit Code.**
2. Find folder **Assets->** Open file **custom.js**

![](/files/WX9MKCKfuFYTK3JDpEhg)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://halosoft.gitbook.io/bonnita-documentation/theme-settings/custom-js.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
