> For the complete documentation index, see [llms.txt](https://docs.novarietygames.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novarietygames.com/websitecreator/luascript/dom/elements/removechild.md).

# removeChild

The **`removeChild()`** method removes a Element with it's index

**Example**

```lua
document.querySelector("body").removeChild(1)
```
