import * as readline from 'readline';

const rl = readline.createInterface({
  input: process.stdin,
  output: process.stdout
});

function login() {
  rl.question('Enter your email: ', (email) => {
    rl.question('Enter your password: ', (password) => {
      console.log('Login successful!');
      console.log('Email:', email);
      console.log('Password:', password);
      rl.close();
    });
  });
}

login();

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: