Creating Front end option to change no. of columns in image portfolio


I am developing a profile web site in which I require an frontend choice to transform the no. of columns in portfolio/image grid. Recommendation web site– https://dudihasson.com/work/

As you can see on the left hand side there are choices to pick the columns.

Just how I can carry out exact same in wordpress?

The web page I require assist with: [log in to see the link]

.