viewportcoördinatensysteem
Viewport coordinates refer to the system used to define the position of elements within the visible area of a web page or application, known as the viewport. This coordinate system typically has its origin (0,0) at the top-left corner of the viewport. The x-axis extends horizontally to the right, and the y-axis extends vertically downwards. Values increase as you move right along the x-axis and down along the y-axis.
When discussing viewport coordinates, it's important to distinguish them from other coordinate systems, such as document
In web development, viewport coordinates are commonly used in JavaScript to determine the position of an element