# Full element size in JavaScript

The following properties contain the full element size:

`console.log(elem.offsetWidth); // a width console.log(elem.offsetHeight); // a height`

These dimensions are indicated in the figure:

Given an element and a button. When the button is clicked, print the full width and height of the element to the console.

If you subtract the client width from the full width, you get a certain number. What dimensions does it contain?

←→
↑
en ru