class User {
  private email: string;
  private password: string;

  constructor(email: string, password: string) {
    this.email = email;
    this.password = password;
  }

  getEmail(): string {
    return this.email;
  }

  getPassword(): string {
    return this.password;
  }
}

// Example usage:
const user = new User("example@email.com", "password123");
console.log("Email:", user.getEmail());
console.log("Password:", user.getPassword());

Embed on website

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