Tell us what’s happening:
My code is throwing an error regarding the formatting of “First Story [firststory]”. I can’t seem to figure out what’s wrong with it.
Your code so far
let adjective = "nice";
let noun = "person";
let verb = "moved";
let place = "party";
let adjective2 = "ugly";
let noun2 = "banana";
var 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 = "big";
noun = "fruit";
verb = "danced";
place = "dumpsters";
adjective2 = "jumpy";
noun2 = "chair";
var 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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Challenge Information:
Build a Sentence Maker - Build a Sentence Maker