How JavaScript Functions work for Dummies like me

What are functions and why do we need them anyways? Functions are used to tell the machine to do a certain action, or sequence of actions. When you call the function in the code, it'll do what you told it to do in the function. Think of the function like training a dog to do … Continue reading How JavaScript Functions work for Dummies like me →