freecodecamp.cn icon indicating copy to clipboard operation
freecodecamp.cn copied to clipboard

How to pass it,plz help me out

Open AlexXieTC opened this issue 9 years ago • 3 comments

Challenge Word Blanks has an issue. User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

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

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

AlexXieTC avatar Feb 13 '17 14:02 AlexXieTC

You must have space in between your words too. The challenge itself has no issues.

wudifeixue avatar Feb 14 '17 17:02 wudifeixue

This is not an issue. Please post your questions in gitter. Thanks

S1ngS1ng avatar Feb 15 '17 02:02 S1ngS1ng

passed:

result = myAdjective+' '+myNoun+' '+myVerb+' '+myAdverb+"."; 注意:两个''中间有空格

0xpinejen avatar Mar 20 '17 09:03 0xpinejen