Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

// running tests
14. You should use the correct story format for the first story: “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].”. Pay attention to spaces.
15. You should log your first story using the message “First story: [firstStory]”.
23. You should use the correct story format for the second story: "Once upon a time, there was a(n) [adjective] [noun] who loved to ea

Your code so far

let adjective;
adjective = "old";
let noun; 
noun = "woman";
let place;
place = "Forest";
let adjective2;
adjective2 = "small";
let verb;
verb = "flared";
let noun2;
noun2 = "fruit";

let firstStory;

firstStory = (["Once upon a time, there was an " +  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(firstStory);

let newAdjective = adjective;
adjective = "brown";
let newNoun = noun;
noun = "bear";
let newNoun2 = noun
noun2 = "honey";
let newPlace = place;
place = "cave"
let newAdjective2 = adjective2;
adjective2 = "large";
let newVerb = verb;
verb = "cold";

let secondStory;

secondStory = (["Once upon a time, there was a " + adjective + noun + " who love to eat " + noun2 + ". " + "The " + noun + " lived in a " + place + " and had " + adjective2 + " nostirls that blew fire when it was " + verb + "."]);

console.log(secondStory);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker

note that firstStory should be a string, not an array containing a string

Have arrays even been taught at this point in the curriculum?

I only ask because I assume you are using prior knowledge and not just misinterpreting the [placeholder] bits in the text?

I was never good at spacing strings, is the spacing at least correct?

LOL! You are correct sir. Haven’t done coding since I retired in 2017.

what do the tests say about that once you make that a string and not an array containining a string?

also you need to check again the user stories about logging

You should use the correct story format for the first story: Pay attention to spaces.

this is what I see when I remove the [] from your code.

That eighth word doesn’t look right to me

You have the same issue with the other string. so you need to fix that.

this is what I see on my end regarding what to log

You should output your first story to the console using the message "First story: [firstStory]".

I don’t see that in your code here

same goes for the other story.

Lastly, you have a typo in both stories. it is towards the end after adjective2

I would first get story one working, then you can copy and paste that correct format to the second story assignment

once I fix all of those things, then it passes for me

hope that helps