I have written some code that works fine but I am trying to make a space between the strings.
The code I have is:
<title> Concatenating Strings </title>
var greetingString = "Hello";
var myName = prompt ("Please enter your name","");
document.write(greetingString + "" + myName + "<br>");
concatString = greetingString + "" + myName;
To insert a space character, simply insert a space character. For example:
greetingString + " " + myName
There's no space in your current output, because
"" doesn't have a space in it.