let num = prompt("enter the number");
num = Number.parseInt(num);
if (num > 4)
location.href="https://google.com";
let num = prompt("enter the number");
num = Number.parseInt(num);
if (num > 4)
location.href="https://google.com";