add the JavaScript code needed to enable auto-complete on this form.. whenever the checkbox is checked, the code should automatically copy the values from Shipping Name and Shipping Zip into the Billing Name and Billing Zip. if the checkbox is unchecked the billing name and the billing zip should go blank.
<p> Shipping Information </p>
<label for = "shippingName" > Name </label>
<input type= "text" name = "shipName"id = "shippingName" required > <br/>
< label for = "shippingZip" > Zip code: </label >
<input type="text" name= "shipZip" id = "shippingZip" pattern = " [0-9]{5}" required > </br>
<input type = "checkbox" id= "same" onchange = "billingFunction()" />
<label for= "same" > Is the billing information the same? </ label>
<br/> <br/>
<p> Shipping Information </p>
<label for= "billingName" > Name: </label>
input type= "text" name= "billName" id ="billingName" required> <br/>
<label for= "billingZip"> Zip code: </label>
<input type= "text" name= "billZip" id ="billingZip" pattern = "[0-9]{5} " required > <br/>
<input type= "submit" value= "verify"/>