Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

Please help I tried everything the format is correct since test 14 and 24 are fine I just can’t pass test 15 and 25 which is strange

  1. You should assemble your first story using the variables you declared in the correct order.
  2. You should assemble your second story using the variables you declared in the correct order.

Your code so far

let adjective = "strange";
let noun = "woman";
let verb = "snowing";
let place = "forest cabin";
let adjective2 = "invisible";
let noun2 = "books";

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 = "pretty";
 noun = "lady";
 verb = "raining";
 place = "castle";
 adjective2 = "magical";
 noun2 = "soup";

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; rv:153.0) Gecko/20100101 Firefox/153.0

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-sentence-maker/66c057041df6394ca796bf33.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @JustLune,

To pass the tests, please make sure there are no line breaks in the story strings.

Happy coding