Tell us what’s happening:
I have been trying for almost an hour to get this to work.
The way this exercise is explained and the method how its implemented (using a function without having covered the function argument) makes no sense to me.
How do i do this? I mean, are the variables between acolades in the function argument parameters? How are those assigned a value? is that using the variable name at teh very last line where it says to test the code?
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");
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/word-blanks/