10 JavaScript Questions Solve Using IF ELSE and ELSE IF || JavaScript tutorial for beginners program to check if a number is even or odd.✅ program to check if a year is a leap year or not.✅ program to check if a string is a palindrome or not.✅ program to check if a number is prime or not.✅ program to check if a number is divisible by any of the numbers 2, 3, 5, or 7.✅ program to check if a number is positive, negative, or zero.✅ program to check if a string is uppercase, lowercase, or mixed case.✅ program to check if a string contains a given substring.✅ program to check if a string is a valid URL.✅ program to check if a date is valid.✅