Tell us what’s happening:
I’ve checked the hint section for extra assistance, but i’m still not understanding. I’ve already returned the string to the return variable. And i’ve also filled in my words to the the blanks. So what did I do wrong that isn’t allowing me to pass? And what do I do to fix this?
Your code so far
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
// Your code below this line
var 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”);
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
// Your code below this line
var 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");
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/word-blanks