Word Blanks js challenge

Word Blanks js challenge
0.0 0

#1

Tell us what’s happening:

I’m stuck on this challenge of word blanks. Can someone help me out???

Your code so far


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

  // 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

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


#2

var result = “My” + myAdjective + " " + myNoun + “can” + myVerb + “” + myAdverb + “.”;

This line creates:

Mydog bigcanranquickly.

Try adding more spaces to begin with.


#3

thanks!!
challenge completed…


#4

no problem! Don’t forget to mark this post as solved (if my response solved it, pls mark it as the solution).