You had it easy! I'm old enough to remember copy-pasting things from random VBulletin forums and the comment section of PHP documentation. And sometimes from old mailing lists that showed up in search results :).
Senior devs generally know how code works, and all senior devs started as juniors. I think the difference is that every annoying/stupid issue turned into a lesson. Now it's one message to ChatGPT and then forgotten about.