I was on a 6+ hr plane ride over open water and therefore had no internet. I had my laptop and some work I wanted to complete, and it was an enlightening experience trying to program without internet connectivity.
Reading local docs, perusing man pages, or just trying to deduce stuff alone gives a lot of deep understanding of some of the tools available to you.
Hot take: taking code form online tutorials is faster to get something working but can lead to low understanding & bad code. Trying to learn things alone is a very rewarding way to _supplement_ learning and I recommend people try it sometime.