You can definitely code without Google and SO. And you should. Once you have a grasp of what you are doing I think it's essential to not rely on those. Doing things only because SO says it it's usually a very good way of losing track of what your code actually does. They are there as a reference and as a help not as a main source.