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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post by answerhappygod »

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.)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply