Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You should create a .js file to finish Whenever the button is pressed, a prompt should be produced that prompts the user for either Hello

You should create a .js file to finish

  • Whenever the button is pressed, a prompt should be produced that prompts the user for either "Hello" or "Goodbye".
  • If the user inputs "Hello" into the prompt, double all of the numbers for the hello list (and ONLY the hello list) (If enter hello twice, the number will be multiplied four times and so on).
  • If the user inputs "Goodbye" into the prompt, double all of the numbers for the goodbye list (and ONLY the goodbye list)
  • This should be accomplished with a single function
  • This is the HTML code
  • Changing Content

    Hello Numbers

    • Hello Number 1
    • Hello Number 2
    • Hello Number 3
    • Hello Number 4

    Goodbye Numbers

    • Goodbye Number 1
    • Goodbye Number 2
    • Goodbye Number 3
    • Goodbye Number 4

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions

Question

HOW IS MARKETING CHANGING WITH ARTIFITIAL INTELIGENCE

Answered: 1 week ago

Question

Different types of Grading?

Answered: 1 week ago

Question

Explain the functions of financial management.

Answered: 1 week ago

Question

HOW MANY TOTAL WORLD WAR?

Answered: 1 week ago