Basic JavaScript - Word Blanks

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

// running tests

wordBlanks

should contain all of the words assigned to the variables

myNoun

,

myVerb

,

myAdjective

and

myAdverb

separated by non-word characters (and any additional words of your choice).

what am i missing 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 " + myNoun + "was " + myVerb + " and " + myAdjective+" very " + myAdverb; // Change this line
// Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 15236.80.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

Add a console.log

console.log(wordBlanks)
  • there is a “need of a single space”

i agree, if you console log this out and check for yourself you will see that in action and fix it right away, happy learning :slight_smile:

Thanks alot. I was missing something really simple

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