Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

pls what’s wrong with my code help me identify the errors in there
the console outputs my code but after checking there are still errors

Your code so far

let adjective = "beautiful";
let noun = "squirrel" ;
let verb = "breathing" ;
let place = "jungle" ;
let adjective2 = "marvelous" ;
let noun2 = "peanut" ;
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);
adjective = "big";
noun = "elephant";
verb = "drinking";
place = "forest";
adjective2 = "tiny";
noun2 = "grass";
let secondStory = "Once upon a time, there was" +" " + 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/148.0.0.0 Safari/537.36 Edg/148.0.0.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 @Codex4!

You should be able to use the same story string for both stories. Only the value of the variables change.

With that in mind, does the above code match this code?

Happy coding!

Is there any other error, check again

yes, there are other errors, but did you fix that? what is your updated code?

yes but still says You should use the correct story format for the first story

what is your updated code please?