What is a function? hat is their syntax/structure? func·tion
/ˈfəNG(k)SHən/

If we call a function, it executes, returns a value, and then resumes the program where it was called. In programming, a named section of a program that performs a specific task is called a function. In this sense, a function is a type of procedure or routine.
When do we use conditional satements (i.e. if else statements)? What is their syntax and structure? if else
/if/ /els/

In JavaScript we have the following conditional statements:
Use if to specify a block of code to be executed, if a specified condition is true Use else to specify a block of code to be executed, if the same condition is false Use else if to specify a new condition to test, if the first condition is false Use switch to specify many alternative blocks of code to be executed
What are the different types of data in javascript? In Javascript, there are five basic, or primitive, types of data. The five most basic types of data are strings, numbers, booleans, undefined, and null.
What is an event listener? When do we use them? What is their syntax/structure?
What is an array? When do we use them? How do we make and write them?