button onclick input text box value show on page is odd or even..when type 1 the value show is odd and when type 2 ..the value show is even and same show on alert box????plzzz help mee????
if (num%== 2){
console.log("number is even");
}
else{
console.log("number is odd")
}
return();
plzz help me