This is the alert box I made within the google chrome developer console, I'm a beginner following along with a course and I'm confused as to why none of the text after the word course is being displayed in the alert box.
alert(" Welcome " + myName + " to the javascript basics course ", " I'm your tutor ", + yourName + "!" );
You've got a comma in there which makes it so that you are passing 2 arguments to the alert function, when in reality alert only accepts 1 argument. So therefor the 2nd argument (containing "I'm your tutor....") is being ignored.
You have 2 options:
Option 1:
Remove the comma so that 1 argument is passed to alert:
alert("Welcome " + myName + " to the javascript basics course, I'm your tutor " + yourName + "!");
Option 2 (Better):
Use template strings instead of concatenation:
alert(`Welcome ${myName} to the javascript basics course, I'm your tutor ${yourName}!`);