First of all, make sure to check if the browser supports local storage like so:
if(typeof(Storage)! == undefined)
{
// Supported
}
else
{
// Not Supported
}
Also, you have three operations on the button div and its child tag. I recommend that you put it all in one function, so your html would look like this:
<div class="button" onclick='tosubmit();'><a style="text-decoration:none;" font-color="Black"><center>Reserve Now!</center></a></div>
And then your OnSubmit function can handle the validation, local storage and navigation like so:
function tosubmit() {
//if form is valid then
// Save data to local storage
// navigate to next page
// else
// Alert user that form is not valid
}