# 스크립트가 작동하지 않나요? - 커스텀 자바스크립트/HTML 코드 유효성 오류 해결

커스텀 코드에서 `<script>` 태그가 `<div>` 태그 안에 포함되어 있다면, 스크립트 태그를 잘라내어 `<div>` 태그 아래로 이동시켜 두 태그가 분리되도록 해주세요. 퍼널/웹사이트 빌더 설정에 따라 `<script>` 태그는 `<div>` 태그 안에서 작동하지 않습니다.

***

*원문 최종 수정: Tue, 8 Nov, 2022 at 6:19 AM* *Hyperclass 사용 가이드 — hyperclass.ai*


---

# 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://hyperclass.gitbook.io/hyperclass-docs/and-sites/script-not-working-custom-javascript-html-code-validation-error-troubleshooting.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.
