Word Blanksproblrem

Tell us what’s happening:

Your code so far


function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  // Your code below this line
  var result = "";
   result+= "my name"+""+myNoun+"i am"+""+myAdjective+"i am a"+""+myVerb+"i am very"+""+myAdverb;

  // Your code above this line

  return result;
}

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/word-blanks

What is your question?

1 Like

consider that "" is not a space, you have to write " " to have a space