Word Blanks JavaScript Question on FreeCoder

Tell us what’s happening:

For me the test result doesn’t match the question. Results ask for cat, little, hit, slowly. I answered using the word blanks given. not with cat, little, hit, slowy.

Your code so far

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  // Your code below this line
  var result = "The" + "dog" + "was very" + "big" + "and" + "ran" + "quickly.";

  // 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 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36.

Link to the challenge:

You’re hardcoding the result. The function takes four parameters (which will be four words). You need to use the parameters (myNoun etc). Your code will currently always return “thedogwasverybigandranquickly” regardless of the words put into the function.

wordBlanks('dog', 'big', 'ran', 'quickly')
// "thedogwasverybigandranquickly"
wordBlanks('cat', 'small', 'slinked', 'cautiously')
// "thedogwasverybigandranquickly"
wordBlanks('horse', 'huge', 'trampled', 'noisily')
// "thedogwasverybigandranquickly"

Note also that you haven’t included any spaces.