I can’t seem to pass this challenge. Looks like this code is outdated or something was skipped judging by previous posts from 2017 through to 2019: Any help please?
Your code so far
var myNoun = "dog";
var myAdjective = "big";
var myVerb = "ran";
var myAdverb = "quickly";
// Only change code below this line
var wordBlanks = "The " + " " + "myAdjective" + " " + "myNoun" + " " + "myVerb" + " " + "myAdverb" + "."; // Change this line
// Only change code above this line
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36.
err I used the variables and I tried using the values as well but I think the variables is what I’m supposed to use for the string, which I did earlier. Am I the confused one?
As @ilenia said, you are not using variables. You are just concatenating several strings.
You may want to review “Constructing Strings with Variables”.
If you can help me or point me in the right direction, I will appreciate it. I’ve had maybe 1 minute tutorial on this topic, understand that I’m a complete novice to this. I’ve also done exactly as it says in the “help video” and the test isn’t passing, so it’s really misleading.