Tell us what’s happening:
The code for console log worked for the first story but the same format won’t work for secondStory and I am wondering if it’s a bug. I tried so many different things and can’t get the code to work.
Your code so far
let adjective = "warm";
let noun = "school";
let verb = "run";
let place = "China";
let adjective2 = "creative";
let noun2 = "jaguar";
let firstStory;
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);
let secondStory;
adjective = "slippery";
noun = "duck";
noun2 = "werewolf";
place = "cottage";
adjective2 = "smelly";
verb = "jump"
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; rv:146.0) Gecko/20100101 Firefox/146.0
Challenge Information:
Build a Sentence Maker - Build a Sentence Maker