Does anyone help answer this question in JavaScript? I use theVisual Studio. Thank you.
Create an HTML + JS page
// JavaScript program by [Student name] [Today’s date]
inputString = prompt(“Input a value for variable a”);
// Convert the input to an int.
a = parseInt(inputString);
console.log(“Variable a has value ” + a);
if (a > 5)
console.log(“a is bigger than five!”);
When this works and runs as expected, add more if andconsole.log statements so the program reports, all in a singleprogram run:
2a. If a is smaller than 0
2b. If 50 is bigger than a
2c. If a + 1 is less than 3
2d. If a –
PayPal Gateway not configured
PayPal Gateway not configured