Here's a copy of my code at: https://jsfiddle.net/5zLyyv94/
<h1 class="login-heading">
<a href="./index.html" class="lnk2">Join</a> us,
<span id="initname">Luke</span>.</h1>
<form method="post">
<input type="text" name="first name" placeholder="First Name" required="required" class="input-txt" />
</form>
Basicially, i'm trying to change the name from Luke to whatever the person types into the field text for first name.
so say, they type in their first name as "Jason"
I want the span text for Luke to change from Luke to Jason.
Thanks in advance!