2 ms·
These days, I typically edit stuff live on the hosting site. But I used to routinely write code offline by hand in Notepad, save a jillion different versions (
by Mz 16y ago
These days, I typically edit stuff live on the hosting site. But I used to routinely write code offline by hand in Notepad, save a jillion different versions (mypage; mypage1; mypage1a; mypage1b; mypage2; mypage2a...etc...for versioning) and then only upload the one I liked at the end. I think I largely stopped doing that after I began using so many "includes" files because you really can't tell what it will look like without them. Now, I seem to be transitioning most of my sites to Wordpress, and, as far as I know, that also can't really be coded offline (though I guess I could write drafts of new content offline, so far, I really haven't).
If you are willing/able to code in Notepad, all you have to do is save it as .html instead of .txt and it will open as a webpage in your browser, without any internet access. It makes for a cool little sandbox.