Been trying to fix this but its not working

Tell us what’s happening:
Describe your issue in detail here.
been trying to get past this stage but its not been easy… pls anybody that can help??

Your code so far



function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
var result = "";
// Your code below this line
var {result += "My "+myAdjective+" "+myNoun+" "+myVerb+" very "+myAdverb+".";}

// 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; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36

Challenge: Word Blanks

Link to the challenge:

First, reset step, please

Second, you must add your code here, between " ":

// Only change code below this line
const wordBlanks = " "; // Change this line
// Only change code above this line

Example:
const myVerb = "love"
const myWords = "I" + myVerb + "coding" + "."

Note:

  1. You must add a console.log too
  2. wordBlanks should contain all of the words assigned to the variables myNoun, myVerb, myAdjective and myAdverb separated by non-word characters ( white spaces )

thanks i think i fixed it already… i really appreciate

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.