1) Create a function to reverse any word that you type in. This can be typed into either an input box or an alert box, and then print the result in a box or on the webpage.
2) Create a function that takes an input number, and prints a table with the first 20 multiples of the number, in order 5×4. Example: Type in “2” and it results in
2468
10121416
18202224
26283032
34363840