Word Blanks How to create it, wordBlanks("dog", "big", "ran", "quickly") should contain all of the passed in words separated by non-word characters

Tell us what’s happening:

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");
var sentence="This"+"cat"+",she is"+"very"+"little"+"and I can't"+"hit"+"her"+"because she walks"+"slowly.";

Your browser information:

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

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

You need to follow instructions as first thing… see the comments on where you need to write.

After that, your phrase is missing all spaces, and you should use the variables provived in the function to solve:

I have problems with this exercise. Can you please help me?
I wroted this:
var result =“This”+“dog”+“is very”+“big”+",but it"+“ran”+“very”+“quickly.”;

but still doesn’t work

Try this -
var result = "This "+myNoun+" is very "+myAdjective+" ,but it "+myVerb+" very "+myAdverb;

you have to concat variable with string like this - “hardcoded string”+yourVariable

thanks a lor! it worked!