// Define the hidden message function in a self-executing anonymous function // to avoid global scope pollution (function() { // Store the hidden message const hiddenMessage = "Design and Developed by Indrajith & Sharan"; // Create a custom styling for the console message const messageStyle = [ 'color: #2ecc71', 'font-size: 24px', 'font-weight: bold', 'text-shadow: 2px 2px 4px rgba(0,0,0,0.2)', 'padding: 20px', 'background: #f1f1f1', 'border-radius: 5px' ].join(';'); // Add the function to the window object to make it globally accessible window.showHiddenMessage = function() { console.clear(); // Clear the console first console.log('%c' + hiddenMessage, messageStyle); // Add a fun ASCII art signature console.log(` ╔═══════════════════════════╗ ║ PSG Polytechnic ║ ║ DIT - 2nd Year ║ ╚═══════════════════════════╝ `); }; // Add an initial console message with instructions console.log( '%cWelcome to PSG Polytechnic Faculty Portal!' + 'color: #3498db; font-size: 16px; font-weight: bold;', 'color: #2c3e50; font-size: 14px;', 'color: #e74c3c; font-size: 14px; font-weight: bold;', 'color: #2c3e50; font-size: 14px;' ); })();