JavaScript help

I can’t seem to get pass functions in JavaScript. I don’t understand what they are used for and how to properly remember them if theirs too many methods on ways you can use them. I tried to do a project on here with them and I get errors even when copying someone else’s code.

That is not uncommon, and goes to the first rule of coding… Never use someone else’s code unless you understand it well enough to have written it yourself.

If you are looking for shortcuts to learning this language, then save yourself the bother. There are none. Some would even go so far as to say, ‘learn another language.’ What is you purpose in learning this language? That would be my question to you.