JSFiddle - React, Tailwind, and code Playground

by Yomi Eluwande

JavaScript

function wordBlanks (myNoun, myAdjective, myVerb, myAdverb) {
  var result = "";
  // Your code below this line
  var name = "are you going home";
  var test = "with me my friend";
  
  result = name + " " + myNoun + " " + test + " " + myAdjective + " " + name + " " + myVerb + " " + test + " " + myAdverb;
  
  // Your code above this line
  return result;
}
// Change the words here to test your function
var sth = wordBlanks("dog", "big", "ran", "quickly");
console.log(sth)