Need Help for javascript

sublime

This code is not working. Can anyone tell me what are the errors in here.???

What error message do you get? Which tests failed? I tried your code and it seems to work fine, though I might not have typed your code as it is. Could you paste it instead?


function wordBlanks (myNoun, myAdjective, myVerb, myAdverb) {
var result = "My " +myAdjective+ " " +myNoun+ " " +myNoun+ " " +myVerb+ " " +myAdverb+ ".";
return result;
}
wordBlanks("dog", "big", "ran", "quickly" );


/////// code ends here /////////

Actually  this code is working fine in freecodecamp challenge 
but I want this code to run in my browser. Your advise would be very helpful.

Thanks

I use Opera Browser and  use Sublime as my text editor. 

this is a function, you will learn more about functions later, but briefly:

you first define a function, which can take parameters (inside round parenthesis)

and then you call the function with some arguments, the arguments are the values that the parameters take in this call

to have a function running you need both

but you may also need something that logs the returned value to the console
you can do for example storing the returned value in a variable and then logging in to the console like this:

var sentence = wordBlanks("dog", "big", "ran", "quickly" );
console.log(sentence);