T
30

Pro tip: I used to debug layout bugs by commenting out lines one by one...

Now I just use the browser dev tools to toggle properties live and watch things break in real time. Is that lazy or just way more efficient?
2 comments

Log in to join the discussion

Log In
2 Comments
robinmason
Friend of mine wrecked a whole page layout live and couldn't undo it...
6
theabennett
Wait, did they try closing the tab and reopening it? I know it sounds dumb but sometimes the browser keeps a cached version of the page before the undo stack went to zero. If they were using something like Webflow or Wordpress with auto-save turned on, the backup could be sitting right there under revisions even if the live undo button died on them. Everyone jumps to "version control backup" but nobody thinks about browser history or local storage maybe holding onto an earlier draft. Ive had clients freak out over lost work only to find Chrome hadnt fully synced the change yet. Also check the browser extensions, I had one that kept intercepting Ctrl+Z and messing it up.
2