On sites like https://classroom.google.com/u/0/h , you can join your educator’s class with a code of scattered numbers and lowercase letters, and it’s about 7 characters long, no spaces. For example:
sauf4sg
w78fh32
a970nb2
How would I create a system where a certain member could create a page, have a code (like above) for that page, then other members could insert that code somewhere, and then they would join that page? Also, no two codes should ever be the same.
To whoever solves this, thank you very much for the help and your time.