Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

I tried a lot but there’s something wrong with the first story and I don’t know what it is. Anyone Please Help, my second story got passed and i used the given format!

Your code so far

let adjective="big", noun="bot", verb="boiled", place="world", adjective2="fat", noun2 = "food";


const 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="bigo", noun="boy-", verb="frozen", place="space", adjective2="true", noun2 = "sweets";

const 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/132.0.0.0 Safari/537.36 Edg/132.0.0.0

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker

Hi there. Each variable should be declared and assigned separately.

Thanks a lot♥, but how does story2 works like this but story1 doesnt?

because story2 uses the values that the variables have at the end of the code. For story1 the variables don’t have that value anymore and the value needs to be taken in a different way