Tell us what’s happening:
i cant seem to get the last test to run…can anyone tell me where im going wrong.
Your code so far
var myNoun = "dog";
var myAdjective = "big";
var myVerb = "ran";
var myAdverb = "quickly";
// Only change code below this line
var wordBlanks = ("cat", "giant", "jumped", "high");
var result= "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/86.0.4240.75 Safari/537.36 Edg/86.0.622.38.
it says all of the word blanks should contain all of the words with variables…i have been on this for 3 days i understood where my mistakes were until now so thanku for all help i get it has got me where i am today…i have all 3 out of 4 of the tasks completed i am working on finding the last task …where am going wrong???
myNoun =var "dog";
var myAdjective = "big";
var myVerb = "ran";
var myAdverb = "quickly";
// Only change code below this line
var wordBlanks=("cat" ,"giant" ,"jumped" ,"high")
var result = "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/86.0.4240.75 Safari/537.36 Edg/86.0.622.38 .
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Create Topic
Your code so far
var myNoun = "dog";
var myAdjective = "big";
var myVerb = "ran";
var myAdverb = "quickly";
// Only change code below this line
var wordBlanks=("cat" ,"giant" ,"jumped" ,"high")
var result = "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/86.0.4240.75 Safari/537.36 Edg/86.0.622.38 .
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Everything on the right side of the equal sign is not a string. It needs to be deleted. You need to store your string on the next line into this variable.
jeremy u said my spaces were incorrect can u ilaberate on that i watched videos on it and thats how they have it…it says to set it to a var… not a str…
You don’t need to create any other variable.
All you need to do to pass the test is just to combine all those variables(myNoun,myAdjective,…).
What you’ve to do is combine those noun,adjective, verb and adverbs with spaces(’ ') between them and assign this to the wordBlanks variable.