Why this is not getting compiled why..? What's wrong in this..?

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

Your code so far

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

// Only change code below this line
const wordBlanks = "My" + myNoun + "is " + myAdjective + "and" + myVerb + "very" + myAdverb + "."; // Change this line
// Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; CPH1881) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36

Challenge: Word Blanks

Link to the challenge:


I also had the same problem .
Check this discussion, it should clear your doubts,.

Hi @varunkotha.1 !

Welcome to the forum!

I would suggest adding this console.log(wordBlanks) to the bottom of your code so you can see the issue for yourself.
You should see this result in the console.

As you can see, there is a spacing issue in your current code.
Once you fix that, then the test will pass.

Hope that helps!


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