Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I am trying to get my java HTML code displayed so that when you enter the text and click the button, it will read your
I am trying to get my java HTML code displayed so that when you enter the text and click the button, it will read your responses back like the picture I attached. Please tell me what's wrong/how to rewrite the code, thank you!
Address Enter your address into the following text boxes. What you typed. What is your name? Melvin Jones What is your street address? 123 Somplace Street What is your city? Elsewhere What is your state? PA What is your zipcode? 19100 What is your telephone number? 215 555 1212 What is your major? MIS Display Address Results Hello Melvin Jones from 123 Somplace Street Elsewhere, PA 19100 who can be reached at 215 555 1212 and is studying MIS 55 56 57 $('#btn_1').click(function() { 58 59 60 let your_name=$("#textEntered1").val(); $("#textDisplayed1").html("Hello " + your_name); 61 let your_address=$("#textEntered2").val(); $("#textDisplayed2").html("from + your_address); 62 63 64 65 66 let your_number=$("#textEntered3").val(); $("#textDisplayed3").html("who can be reached at " + your_number); 67 68 let your_major=$("#textEntered4").val(); $("#textDisplayed4").html("and is studying + your_major); 69 70 })Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started