title: When switching to each page, show the corresponding part of the movies using pagination (JavaScript)
body: <p>I have: 'connect page numbers (pagination) on the main page'</p>
  <p>`const ulTag = document.querySelector('.pagination-btn');</p>
  <p>let totalPage = 20;</p>
  <p>let currentPage = 1;</p>
  <p>function pagination(totalPage, page) { let liTag = ''; let activeLi = ''; let beforPages = page - 1; let afterPages = page + 1;</p>
  <p>if (page &gt; 1) { liTag +=                      </li>; } if (page &gt; 2) { liTag += 1</li>;</p>