Enter A:
Enter B:
Answer:
Pop up an alert box if A is greater than 10.
alert("A is more than 10");
Pop up an alert box if A is greater than B.
Pop up an alert box saying "Yea" if A is exactly twice B, and pop up an alert box saying "Nay" otherwise.
Pop up an alert box saying "big" if A is greater than 10, saying "medium" if A is between 10 ... 5, and saying "small" otherwise.
Turn input field A red if A is not equal to B.
document.getElementById("a").style.backgroundColor = "red";
Turn input field A red A is less than or equal to B.
Turn input field A red A is between 10 ... 20 including the 10 and the 20.
Turn input field A red A and B are both greater than 10.
Show a hidden message if either A or B is greater than 10.
See
http://euclid.nmu.edu/~rappleto/Classes/CS101/JavaScript/Notes/hidden-text.html
or
https://www.w3schools.com/howto/howto_js_toggle_hide_show.asp
Show a hidden message A is exactly 12 and B is exactly 10.
Set answer to "OK" if A is either 2,4,6, or 8, and set answer to "Bad" otherwise.
Pop up an alert box if A is either 2,4, or 6 and B is either 1,3, or 5. In other words, A=2,B=2 does nothing. A=2,B=1 shows the message.
Write Microsoft Office using Javascript.