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("cat"+ "little"+ "hit"+ "slowly");
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36.
This is only one parameter. Try console.log("cat"+ "little"+ "hit"+ "slowly") and see that it shows you "catlittlehitslowly", you need 4 parameters when calling the function, and you make that separing each word with commas
after that, you need to change your code so that result is a phrase, using the parameters of the function as placeholders.
An example:
function iAm (adjective) {
var result = "I am " + adjective;
return result; }
iAm("beautiful"); // this return "I am beatiful"
You may need to read more carefully this line:
You will need to use the string concatenation operator + to build a new string, using the provided variables: myNoun , myAdjective , myVerb , and myAdverb . You will then assign the formed string to the result variable.