Basic JavaScript - Word Blanks

Tell us what’s happening:
Someone help with this part below? :frowning:

Your code so far

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

// Only change code below this line
const wordBlanks = "The " + myAdjective + "frenzie " + myNoun + "fast " + myVerb + "really " + myAdverb + "yesterday."; // Change this line
// Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

Put a console.log after/below the wordBlanks variable.

console.log(wordBlanks)
3 Likes

@lasjorg is correct. You should get into a habit of using console.log() as in console.log(wordcount) since it is a great way to debug your code.

You can check the values of different variables and ensure they are what you expect them to be.

1 Like

This is highly appreciated. I have been stuck on this problem for an hour and everything seems correct, and I tried adding your suggestion and as it is, the only missing element.

1 Like

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