Goal:
Create a simple program that:
prompt().📘 Example Output:
Enter first number: 10
Enter second number: 3
Addition: 13
Subtraction: 7
Multiplication: 30
Division: 3.33
Remainder: 1
Goal:
Create a program that:
Declares two variables:
let savedEmail = "[email protected]";
let savedPassword = "12345";
Asks the user for their email and password using prompt().
Prints the result of each check using comparison and logical operators.
Example:
console.log(userEmail == savedEmail && userPassword == savedPassword);
💡 Tip:
You can also print friendly messages like:
console.log("Login Successful:", userEmail == savedEmail && userPassword == savedPassword);