1.Write a JavaScript program that checks if a number is even or odd.
2. Write a JavaScript program that declares two variables a and b, assigns them numeric
values, and then prints the sum, difference, product, and quotient of these two numbers.
3. Write a program that finds the largest number in an array.
4. Write a JavaScript function isPalindrome that takes a string as input and checks whether
it’s a palindrome (i.e., it reads the same backward as forward).
5. Write a program that validates that all fields (name, email, and message) are filled out
before submitting the form.