> For the complete documentation index, see [llms.txt](https://jscula.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jscula.gitbook.io/docs/manipulation/.height.md).

# .height()

Gets or sets an element height. Numbers are treated as pixel values.

```javascript
$('#panel').height(320);
```

```javascript
$('#panel').height(current => current + 40);
```

```javascript
const height = $('#panel').height();
const totalHeight = $('.panel*').height();
```
