Show random item

I am currently preparing to build for my next project. One of the requested features was to have a button that will show a random post from a list of posts.

Will anyone know how to do something like that. I imagine creating a CMS with all the posts and somehow have the button select a random post to show in a modal.

Please suggest how I should approach this.

Here is my site Read-Only: LINK
(how to share your site Read-Only link)