First things first we need to navigate to the folder in which you want to put the code.
pwd : Tells you what folder you're currently in.
ls : Lists out all the items within the folder you're currently in.
cd [foldername] : Moves you into whatever folder is named [foldername].