# Add custom styling (CSS) and logic (Javascript)

You can now customise your surveys to exactly match your website design and apply any additional styles you need. Simply navigate to the edit page for your survey and enter your styles through our modern code editor. See the guidance on editing your survey settings in FormJoy, for instructions on navigating to the settings page.

It's also possible to add custom scripts to your survey pages so you can **apply form logic to hide/show fields depending on other responses**, set minimum and maximum lengths for text fields, make certain questions compulsory and/or **display feedback messages and other content depending on which options are selected** in multiple choice fields.

![](https://56006180-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MI11dITk91hmGgkKYdT%2F-MI25jreXWcEOy1YXPrf%2F-MI2FUrJR_mK6MejlmUb%2FScreen%20Shot%202020-09-25%20at%201.14.45%20PM.png?alt=media\&token=dddcd23a-0982-4a78-b2e2-672c07277b41)

<br>


---

# 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://support.formjoy.com/customise-the-survey-style-with-css.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.
