Tutorial confusion

Tell us what’s happening:
the tutorial has a different solution and the hint section has a different solution .

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

This is the correct solution above

Your browser information:

Challenge: Word Blanks

Link to the challenge:

The tutorial has an Example!! not a solution, there is a difference.

The empty quotes for spaces between your objects which you define. Take attention there.

There are often many (even infinite) ways to solve a problem with code. You can find different solutions that all work. As @lowlevelcarrot said though, the challenge descriptions do not include solutions. They have examples of code to illustrate how a particular concept works.

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