You are missing one +
sign in the alert parameter:
alert("The string " + fullName + " is " + fullNameLength + " characters long.");
// ^ here
You should write your code in some proper editor or IDE (webstorm, vs code, …). That way the editor will highlight those simple syntax errors for you and sometimes even suggest a solution.
1
solved Javascript – string + var alert [closed]