Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

Hi - I’m having an issue solving this. Oddly, I am only getting an error on the first story, the second story looks like it’s passing. And even if I copy the code from the second story into the first, it’s still not passing.

Thanks for the help!

Your code so far

let adjective = ("big");
let noun = ("snail");
let verb = ("running");
let place = ("home");
let adjective2 = ("fast");
let noun2 = ("flowers");

let firstStory = "Once upon a time, there was a(n) " + adjective + " " + noun + " who loved to eat " + noun2 + ". The " + noun + " lived in a(n) " + place + " and had " + adjective2 + " nostrils that blew fire when it was " + verb + ".";

console.log("First story: " + firstStory); 

adjective = ("tiny");
noun = ("gorilla");
verb = ("flying");
place = ("cockpit");
adjective2 = ("gooey");
noun2 = ("cheeses");

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/146.0.0.0 Safari/537.36

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker

Welcome to the forum @PJpj!

This would probably work if all of your variable values weren’t wrapped in parentheses.

Happy coding!

Thank you! Appreciate it!