Word Blanks need help solving!

Word Blanks need help solving!
0

#1

Tell us what’s happening:
The way I attacked this problem was the same way I converted Celsius to Fahrenheit. Unfortunately, the problem can’t be solved the same way so I tried different variations and now I’m here. Help? When you provide the answer could you explain how you got it? Thank you

Your code so far

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  var result = "";
  // Your code below this line
  result="The "+"myNoun"+" is"+" myAdjective"+" and once we locked eyes, I"+" myVerb"+" very"+" myAdverb"+".";

  // Your code above this line
  return result;
}

// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 11_0_3 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A432 Safari/604.1.

Link to the challenge:


#2

Because you have quotes around myNoun, myAdjective, etc, you are not accessing the variables. You and concatenating the string literals containing the text "myNoun", "myAdjective", etc.


#3

That makes complete sense, if I put words in “ “ I’m escaping the sentence. :man_facepalming:t4: Thank you so much Ariel