Please help me to complete this challenge

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 = "The " + myAdjective + " " + myNoun + myVerb + " " + myAdverb + "." ; // Change this line
// Only change code above this line

Your browser information:

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

Challenge: Word Blanks

Link to the challenge:

You’ve created a string that reads literally:

The big dogran quickly,

You are joining a set of smaller strings into one string, you need to fix the order of those smaller string.

You can use console.log(wordBlanks) after you created it, to get an output of the actual string.
Logging values within the code is one of the basic tools for debugging code and I feel like the lessons don’t put enough emphasize on this. However the first thing I do when tackling tasks, is to use this or a similar command on the output to see what I am actually doing.

Better get used to it sooner than later :wink:

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