I made a webpage that having sections , and while scrolling , the section that is in viewport is highlighted. But this isn't working on mobile screens

I used ( intersectionobserver API ), and I'm sure that I use ( ) or ( meta "viewport" ) in my HTML. But I don't know how to do this on all screens even on mobile screen.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum