Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

The error on 15 and 25 keeps saying to assemble my first and second story using the variables I declared in the correct order, which I think I did but it still does’nt pass and I have no idea why.

Your code so far

let adjective = "handsome";
let noun = "man";
let verb = "breathing";
let place = "school";
let adjective2 = "ugly";
let noun2 = "dragon";

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 = "white";
 noun = "man";
 verb = "smelling";
place = "cave";
 adjective2 = "fat";
 noun2 = "snake"


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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker

The reason is that your firstStory and secondStory assignments are split across multiple lines.
Each one should be written on a single line.

1 Like