1)Write an HTML page that uses a prompt or an input text box to get an input number. The page should also contain a butt
Posted: Mon May 02, 2022 12:47 pm
1)Write an HTML page that uses a prompt or an input text box to get an input number. The page should also contain a button. When the button is pressed, a function is calledto display "Ouch!" that many times. (So if the user enters 5, the page should display "Ouch!" 5 times.)
2)Write an HTML page that uses an input text box to ask the viewer for a phrase. The page should also contain a button. When the button is pressed, a function is called to display the input phrase 10 times. The HTML page should use a JavaScript function to write out the phrase. (So if the user enters "Hello World", the page should display "Hello World" 10 times.)
2)Write an HTML page that uses an input text box to ask the viewer for a phrase. The page should also contain a button. When the button is pressed, a function is called to display the input phrase 10 times. The HTML page should use a JavaScript function to write out the phrase. (So if the user enters "Hello World", the page should display "Hello World" 10 times.)