How to make your html or php code & save it to a file?

I have my Filezilla on, it says i have to upload my file, let’s say "feedback.php". for my website. I pretty much know html & php, i just dont know how to put it in a file. does it mean, make your coding in Notepad, & save it as a file, then upload that file?

Yes, if it is HTML you should save the file as "whatever.html"