Introduction
In JavaScript, functions are one of the fundamental building blocks. They are reusable blocks of code that you can write once and run many times. Using functions helps you organize your code, make it more readable, and avoid repetition.
In this lab, you will learn the basics of creating and using functions in JavaScript. You will build a simple function that adds two numbers together, and you will learn how to define it, pass it data, get a result back, and display that result.





