Coding Question: How can I create a 'Take screenshot" button

Hey, thanks so much for reaching out and the guidance. It’s actually three sliders and a container box that forms a vertical border around the middle items in each slider. so I need to take a screenshot of the multiple middle images. What do you think?