Hello, I've been given the task to optimize a one-page website.
It's basically a webpage with changing content, by normal JavaScript and JQuery.

Thing is, there is a carousel with content, so if you push right or left, the content in the container changes, with JQuery. How can you make sure Google treats those pieces of content as an other webpage? Is it possible to put anchors like example.com#item1 and put this in the sitemap.xml?

But if Google treats them like seperate pages, the content of the other items is still in the code behind, so Google will dislike this, right? I'm confused.

Sorry for all the questions, but the general question is, how can you best index a one-page website, with interchangable content, can they be treated as seperate pages?