Intersection Observer API Demo

Watch an element change when it enters the viewport with the Intersection Observer API. Scroll down to see the highlighted box.

${status}

Box 1
Box 2
Box 3
Box 4
Box 5 (Watch me!)