Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

i cannot pass story 23 but my spacing looks correct in the console log?

Your code so far

let adjective= "dazzling";
let noun="baker";
let verb="running";
let place= "cabana";
let adjective2= "chaotic";
let noun2= "kimchi";

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);

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 + " cats that blew fire when it was " + verb + ".";

adjective= "cool";
noun= "florist";
verb= "sauntering";
place= "penthouse";
adjective2= "califragicious";
noun2= "ice";
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/139.0.0.0 Safari/537.36

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker
https://www.freecodecamp.org/learn/full-stack-developer/lab-sentence-maker/build-a-sentence-maker

with the code in this order, what values do you think are used in secondStory for adjective, noun and the others?

1 Like