How do I make a slider like this

Hello all, I want to make a portfolio slider and when an image is clicked the slider must show with the corresponding image, like this.

https://imgur.com/a/Y0DXAdn

Here is my public share link: LINK
(how to access public share link)