Here is the code:
<html>
<head>
<title> Welcome Page </title>
</head>
<body>
<h1>Greetings</h1>
<p>
Enter your name: <input type=“text” id=“nameBox” size=12 value="">
</p>
<input type="button" value="Click for Greeting"
onclick="document.getElementById('outputDiv').innerHTML='hello' + document.getElementById('nameBox').value + ', welcome to my page.<br>Do you mind if I call you' + document.getElementById('nameBox').value + '?';">
<hr>
<div id=“outputDiv”></div>
</body>
All I'm getting is an error in line 13: Uncaught TypeError: Cannot read property 'value' of null.
I'm new to this, so help would be very much appreciated! Thanks.