This is a word blanks challenge. I am suppose to make a sentence using provided words with the variables myAdjective...and so on. Can't get the code right. I appreciate a hint maybe?
**Your code so far**
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
// Your code below this line
var result = "the "+ myAdjective + myNoun + myVerb + " ran across the street " + myAdverb;
var myAdjective="big";
var myNoun="dog";
var myVerb="ran";
var myAdverb="quickly";
// Your code above this line
return result;
}
// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");
```js
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36.
To expand upon this, you do not want to be assigning these values yourself. These are defined when the function is called.
wordBlanks("dog", "big", "ran", "quickly") assigns those 4 words to the 4 variables you will use, so you do not need to assign them yourself. That way, no matter what sentence we wanted to make, we just pass the words we want into the function. ex wordBlanks("man", "tall", "walked", "slowly").