Tell us what’s happening:
// Only change code below this line
var some = “Adjective is good, but hard to do”;
var myStr = "Learning to code is ";
some += someAdjective,
**Your browser information:**
Your Browser User Agent is: ```Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36```.
**Link to the challenge:**
https://www.freecodecamp.org/challenges/appending-variables-to-strings
The challenges instructions state the following:
Set someAdjective and append it to myStr using the += operator.
Another way to think about the instructions is assign and adjective to the variable called someAdjective. Then append (concatenate) someAdjective to the myStr variable using the += operator.
Your current code assigns “Adjective is good, but hard to do” to a variable called some and then you append a variable called someAdjective to some using the += operator.
First problem is you did not assign anything to a variable called someAdjective and the second problem is you did not append this variable to the myStr variable.
See if you can solve it now.
Yes that was exactly it. I just try it,and it work for me.
Thanks a lot