Write 2 JavaScript codes as follows:Note: Make sure you have your <html> and <body> tags as required to make sure your script can be displayed in a browser for testing purpose.1) Write JavaScript code that prompts the user to enter a number, pass the...