How to download your source code from Online GDB and save it to your computer so that you can upload it to Google Classroom.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.