<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Direct Function Invocation</title>
    <script>
        function greet(name) {
            return "Hello, " + name + "!";
        }
        // Direct invocation
        let message = greet("Alice");
        console.log(message); // Outputs: Hello, Alice!
    </script>
</head>
<body>
</body>
</html>