Tell us what’s happening:
I just can’t get this right. I have change the sentense several times and it just won’t work.
Your code so far
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
// Your code below this line
var result = myNoun + "would be so much" + myAdjective + myAdverb + "if we all" + myVerb + "each others";
// Your code above this line
return result;
}
// Change the words here to test your function
wordBlanks("world", "better", "place", "love");
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.
You should separate myNoun and the word “would” with a space character
You should also separate myAdjective and myAdverb with a space
and separate “all” and myVerb with a space
and separate myVerb and “each” with a space
Once you have enough spaces in the sentence it should work much better.
Thank you for your answer.
Now it looks like this:
var result = myNoun + " would be so much " + myAdjective + myAdverb + " if we all " + myVerb + " each others ";