Word Blanks error

Tell us what’s happening:
“hello! I think there is a mistake in the exercise, since the exercise stays:
//your code below this line
so seems that I need to modify var result=”",

but then the proposed solution states as follows:
var result = “”;
// Your code below this line adding an extra step called:

Furthermore, the example explains the concatenation as follows:
“It was really” + “hot” +**
but then the solution places the + inside the " " -> as here “+myAdjective+”

Your code so far

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  // Your code below this line
  var result = "";

  // Your code above this line
  return result;

// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15.

Link to the challenge:

Either modifying the existing line (var result = "") or adding another line below it are valid answers.

You are miscounting the quotes in the example solution. It begins "My " +myAdjective+. The concatenation operators are not inside the quotes.

1 Like