My code is not working correctly : <p>I am having a problem with this code, I am not sure what is wrong.  Essentially it is supposed to take input from user, set it to a variable, then write a string.  It is not writing anything out after I try typing in a name.</p>

<p><br>
        <p>Hello, the purpose of this site is for process enhancement for searching for POU Kit Parts:</p></p>

<pre><code>    &lt;form id="form1"&gt;
    &lt;p&gt;enter name:  &lt;input name="name" type="text" size="20"&gt;&lt;/p&gt;&lt;/form&gt;
    &lt;p&gt;&lt;button onclick="outputname()"&gt; Submit&lt;/button&gt;&lt;/p&gt;

    &lt;script&gt;
    function outputname(){
        var x,name,a,b,answer,y;
        x=document.getElementById("form1");
        y=x.elements["name"].value;
        document.write("hello" +y+ );
    }
    &lt;/script&gt;
</code></pre>
