Chapter 2: User-Facing Backend Ticket: Paging

how exactly is the page variable is increasing is the code(function getMovies in moviesDAO.js)?

in the begining of the function page is set to 0 , and there is no operation on that variable during the code…
how is the scrolling down the page effect the page variable? and where is it showen in the code?
thanks!

Please do not post the same question with different words in different threads. It slows the people trying to help by forcing the reading of multiple duplicate problem.

Our code is the data access layer. The user via the gui (the web page) goes to a different page.

1 Like

what file exactly? i would like to take a look

Like any web page, you can view-page-source. Most, if not all, web browsers let you view the source.