The tooltip should be shown near the target element. To allow some control over this, first create an offset property inside the class definition:

Since the target element's position may change, position the tooltip each time it's shown. Again, to do this simply and robustly, use inline styling.

The getBoundingClientRect API provides layout metrics for the target element.

The object destructuring syntax is used on its return value.

After adding the code, try triggering the tooltips. The tooltips for the input and greeting should be better aligned, showing below the target elements. However, the tooltip for box 3 isn't sized correctly and depending on your screen size, the tooltips for the boxes may run off the bottom of the preview window. You'll fix that next.