Hi, I am new to javascript and need some help. Basically this is a one page site, with a simple form, an empty comment box underneath, then under that a submit button.
I need to write a code where the user fills out a form with drop down menus and a couple text fields. Then the user would click the submit button. Once submitted, the information that the user filled out would appear on the same page as the form in the comment box, but with the text “Thank you for your input, here is your information:” before the info they filled out.
My problem is I cannot create a function to make the information appear in the comment box. It keeps showing up on a new page.
Thank you! I am new and would really appreciate the help 😮