body { font-family: Arial, sans-serif; display: flex; justify-content: center; align-items: flex-start; /* Align to the top */ min-height: 100vh; /* Cover at least the viewport height */ background-color: #f0f0f0; padding: 20px; /* Add padding */ overflow-y: auto; /* Allow scrolling */ } .container { text-align: center; padding: 20px; border: 1px solid #ccc; background-color: #fff; border-radius: 5px; max-width: 600px; /* Limit the width */ width: 100%; /* Full width */ box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional shadow */ } input[type="password"] { margin-top: 10px; padding: 10px; width: 200px; } #helloContainer { display: none; /* Initially hidden */ font-size: 16px; }

sup

Password:

function checkPassword(event) { if (event.key === 'Enter') { const password = document.getElementById('password').value; console.log(password); // Log for debugging if (password === 'anonymoouzzontop') { document.getElementById('loginContainer').style.display = 'none'; document.getElementById('helloContainer').style.display = 'block'; } else { alert('Incorrect password. Please try again.'); } } }