Question: Javascript Function HELP: I have a form-label with an input box. When I type my name in the input text box, it gives the output:

Javascript Function HELP:

I have a form-label with an input box. When I type my name in the input text box, it gives the output: "hello 'Name'" (I have successfully completed this).I'm struggling with the 'clear button' at which is supposed to clear the output message and the string that was typed in the input text box. The function needs to clear the string entered in the text box input (we will call this 'nameIn') as well as the Output paragraph tag (we will call this 'nameOut') at the same time, in the same function. Let me know if you need a copy of my code.

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!