Build a Sentence Maker - Build a Sentence Maker

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

You have a syntax issue in your call to console.log. Spacing matters. :slightly_smiling_face:

I seperated the addition symbol and the quotations and still got the same value back. I played with spacing everywhere I felt could be applicable. How is it not entering if they’re the same code?

Any errors in the console?

How does your output look?

remove the space between log and ( instead

That was it. I swore I had them together in my first few test runs. Thank you everybody for your support!