Question: Help with javascript code, with loops to be specific A javascript code where it has two functions, one works just for the for loop. And

Help with javascript code, with loops to be specific

A javascript code where it has two functions, one works just for the "for loop". And the second one goes for the buttom which only will ask the user two questions with two prompts, one word, and how many times does the user would like to repeat it.

for example, if the user writes "Hello" in the first prompt and then writes "3" in the second prompt question, the output needs to be "HelloHelloHello"

the html page would be this

Repetition

repetition of words

-----

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!