Replying to @_juliantellezTo be honest, I often don't understand what I'm copying and pasting. I need to run it, console.log the crap out of it, scratch my head several times, search again and tweak it to my needs.
That's how I Iearned to code. By taking examples and trial/error my way through them