Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

I keep failling the part about my variables being in the right order, not sure why.

Your code so far

let adjective = "strong";
let noun = "boy";
let verb = "raining";
let place = "7eleven";
let adjective2 = "pretty";
let noun2 = "cake";

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 = "scary";
noun = "goblin";
verb = "crying";
place = "dungeon";
adjective2 = "lazy";
noun2 = "gold";

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker

do not go to a new line doing the string concatenation

2 Likes