HTML code used to link the js file to html
alert(“Thanks for your input!”);
alert message pop up for the user
num++; is the same way of writing
num = num + 1;
how to have increments of the variable by 1
num++;
is num++ and ++num the same
nope, false
If you want to increment both variables, you must put the pluses before the variable,
++num
how to have a default value in the prompt
prompt(“ question”, “default value”);