How to fix wordpress white screen of death a cause bad php code?

You will have to go access your site from an FTP account, if you don’t have one, go to your server and create one (or request one), then since you know what file was the one in which you were working on, download that file, edit it on your machine deleting the code that is causing the problem, and finally upload it again. Done.