You need to show the user's name in the heading. The heading should say Hello, (user)
when the user enters their name into the text box which is a simple form input and presses the button.
To display the user's name, you'll need to read the user's name from the query string. You need to read the query string when the page is loaded, not when the button is pressed.
I need to implement this using javascript and query string but I haven't got a clue how.
<form>
<input type="text" name="user_name" placeholder="Enter your name!" />
<button type="submit">Apply!</button>
</form>