Tell us what’s happening:
Hi, I’m failing the test cases (lines 8 & 18). My code shows what the system is asking for (line 8) and the only way I’ve gotten the expected output (line 18). I have tried:
-multiple syntax and grammar checks
-moving the quotation marks around in process of elimination nature
-indenting variables and log statements (together and alone)
-employing the help given in Build a Sentence Maker - Build a Sentence Maker
Please help me identify what I’m missing. TIA
Your code so far
let adjective = "raging";
let noun = "Racoon";
let verb = "angry";
let place = "dungeon";
let adjective2 = "flaming";
let noun2 = "souls";
let firstStory = "Once upon a time, there was a(n)" + " " + [adjective] + " " + [noun] + " who loved to eat " + [noun2] + ". The " + [noun] + " lived in a " + [place] + " and had " + [adjective2] + " nostrils that blew fire when it was " + [verb] + ".";
console.log("First story: [firstStory]");
adjective = "tanking";
noun = "turtle";
verb = "crawling";
place = "hulking hull";
adjective2 = "no fucks left to give";
noun2 = "rounds";
let secondStory= "Once upon a time, there was a(n)" + " " + [adjective] + " " + [noun] + " who loved to eat " + [noun2] + ". The " + [noun] + " lived in a " + [place] + " and had " + [adjective2] + " nostrils that blew fire when it was " + [verb] + ".";
console.log("Second story: " + [secondStory])
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0
Challenge Information:
Build a Sentence Maker - Build a Sentence Maker