Display 1 random document from a list of documents and refresh

Goal:

The user presses on a button that says: 'give question'

The user is shown a new page which contains a (random) question

The user can press 'new question' and is given a new (random) question (but not the question(s) the user has already seen)

How can I accomplish this functionality? (preferably without code)

I currently have firebase set up. I have a collection containing a list of documents (the questions)

I've been stuck for days.

Any help is much appreciated!

1
3 replies