Tell us what’s happening:
I’ve completed this drill as instructed but I’m met with an error in the console. I don’t think this is wrong!
Your code so far
// Change code below this line
var someAdjective = "difficult but rewarding.";
var myStr = "Learning to code is ";
myStr += someAdjective;
// Change code below this line
var someAdjective;
var myStr = "Learning to code is ";
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
.
Challenge: Appending Variables to Strings
Link to the challenge: