Follow these 6 steps to learn how to retrieve text input from a JavaScript form and display that text on the DOM.
Step 1: Retrieve the HTML values of the targeted elements, and assign JavaScript constants to each.