Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

Unable to figure out the issue.
I followed all the instructions and the output in the console also is perfect but there is some error in the way i did it and i am not able to figure it out. please help!!!

Your code so far

let adjective = "great";
let noun = "rohit";
let verb = "batting";
let place = "mcg";
let adjective2 = "beauty";
let noun2 = "bumrah";
let firstStory;
firstStory = ("Once upon a time, there was a " + adjective + " " +  noun + " who loved to eat "+ noun2 + " and had " + adjective2 + " nostrils that blew fire when it was " + verb + "." );
console.log("First story: [firstStory]");
adjective = "evil";
noun = "dragon";
verb = "breathing";
place = "hell";
adjective2 = "fierce"
noun2 = "humans";
let secondStory;
secondStory = ("Once upon a time, there was a " + adjective + " " +  noun + " who loved to eat "+ noun2 + " and had " + adjective2 + " nostrils that blew fire when it was " + verb + "." );
console.log(secondStory);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker

Check the story template carefully—you’re missing a whole sentence in the middle. Also, in your console.log, don’t put the variable name in quotes; use + to add it to your message.

1 Like

you have changed the template, there was a(n) here

here you are not using the firstStory variable as you are asked to do