Can't solve this. help me

Tell us what’s happening:
Describe your issue in detail here.

I tried so much writing code but didn't get to the solution.
Help me to understand this.

Your code so far


var myNoun = "dog";
var myAdjective = "big";
var myVerb = "ran";
var myAdverb = "quickly";

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36.

Challenge: Word Blanks

Link to the challenge:

If you want a good answer try to write a good question.
Like what did you try, which tests are failing, or what you can’t understand.

fed up with the challenge.
give me solution

Hi @rajat310 !

We are not allowed to give out solutions on the forum.

But I will provide an example I created and that can help you with your solution.

I am going to create 4 new variables and use them in a sentence using string concatenation.

var myDrink = "Milk";
var myDessert = "Cake";
var mySnack = "Peanuts";
var myDinner = "Pizza";

var sentence = "I like to drink " + myDrink + " and I like to eat " + myDessert + ", " + mySnack + ", " + "and " + myDinner + "."

console.log(sentence) // I like to drink Milk and I like to eat Cake, Peanuts, and Pizza.

That’s the basic idea.

In your challenge use the four variables in a sentence being mindful of spaces like I was in my example.

Use console.log as you are building out the sentence.
It will help you.

1 Like

ThANKS @jwilkins.oboe :grinning_face_with_smiling_eyes:

1 Like

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