I cant get past this adding words into a string using + ""

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 = "This ******** doens't let me use" + "myNoun" + "and" + "myAdjective" + "or" + "myVerb" + "why the *** not" + "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/95.0.4638.69 Safari/537.36 Edg/95.0.1020.44

Challenge: Word Blanks

Link to the challenge:

Please don’t swear with f-bombs. I understand frustration while coding, but we have young users. Thank you for your understanding.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

You have two problems

  1. You need to include spaces between the strings yu are concatenating.
console.log("Test" + "This");
  1. You need to use variables instead of strings holding the names of your variables.
const myString = "Test";
console.log("This is a " + "myString");
console.log("This is a " + myString);
1 Like

Sorry for the swearing
Frustrated me because I could see nothing wrong with the code

Eduardo j Barrera

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