Everyone has to google everything, even advanced programmers, so you don't have to worry about that. But just copying what you see on the internet is a really bad practice. No one is preventing you from doing it, but you should really try to write your own code based on it instead, that's the best way to learn and improve.
You can make glow effects VERY easily with Shader Graph if you're using Unity 2019.1 or 2019.2. There are lots of good YouTube videos introducing you to using Shader Graph. You might need to switch to the Low-def render pipeline, which might mean you have to change some existing shades because the default 3D standard shader doesn't work with LDRP.