In the HTML file, JavaScript like var username = "Lee"; only works if placed inside the script element.
var username = "Lee";
script
Make sure to pick var followed by username and then =, "Lee".
var
username
=
"Lee"