How to get the element position on the screen with JavaScript (X and Y coordinates)

Опубликовано: 17 Ноябрь 2021
на канале: Web Dev with Matt
14,540
175

🔴 Get my full HTML & CSS course with discount at Udemy through this link: https://www.udemy.com/course/html5-an...

In this video you will learn how to get the position of a HTML element in the screen

We will receive all the directions (top, left, right and bottom) and also the element coordinates (X and Y)