Prime Number Check What Prime Number? Prime Number is a number that is divisible by only 1 and that number. Suppose 13 is a prime number, because 13 is divisible by 1 (13 % 1 == 0) and 13 is also divisible by 13 (13...

# JavaScript Problems

## JavaScript Perfect Email Validation

Email Validation To get JavaScript Perfect Email Validation is a little tricky. So I am going to share this simple solutions with you. Hope this may help and save your time. JavaScript Code HTML Code Insert your JavaScript code at script tag and html code...

## JavaScript Problem-2

Questions: Write an HTML document to find X to power n where value of x and n taken from user? Ans. The solution of above question is as follows: var x=prompt(“Enter value of X: “,””); var n=prompt(“Enter value of n: “,””); var result=Math.pow(x,n); document.write(result); Happy...

## JavaScript Problem-01

Question: We shall take some numbers like 1 to 10, From the mentioned numbers we shall print the odd numbers except 3 and 5 and at last also we shall make SUM of those odd number .