// Simple JavaScript Example
// This program prints a message and reacts to a button click
// Print message to console
console.log("Hello from JavaScript!");
// Function that runs when a button is clicked
function sayHello() {
alert("Hello! You clicked the button!");
}