🎯 Learning Objectives

By the end of this class, students will be able to:

1. What Are Functions?

A function is a reusable block of code that performs a specific task.

💬 Easy Example (Real Life):

📘 Without function:

console.log("Hello Ali");
console.log("Hello Sara");
console.log("Hello Hamza");

📘 With function:

function greet() {
  console.log("Hello");
}
greet();
greet();
greet();

✅ Cleaner

✅ Reusable