<!DOCTYPE html> <html> <head> <title>JS Demo</title> </head> <body> <h1>Welcome!</h1> <p>Open the console to see the message.</p> <script> function runApp() { let status = "Success"; if (status === "Success") { console.log("🎉 App executed successfully!"); } else { console.log("❌ Something went wrong."); } } runApp(); </script> </body> </html>

JavaScript Demo