Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

Hi, it keeps telling me to check the space

let adjective;
let noun;
let verb;
let place;
let adjective2;
let noun2;
adjective = "Big";
noun = "ant";
verb = "running";
place = "house";
adjective2 = "small";
noun2 = "mice";
const 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);




adjective = "small";
noun = "dog";
verb = "jumping";
place = "park";
adjective2 = "big";
noun2 = "children";
const secondStory = " Once upon a time, there was an " + adjective + " " + noun + " who loved to play with  " + noun2 + ". The " + noun + " lives in the " + place + " and had " + adjective2 + " ears that allows it to fly 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/135.0.0.0 Safari/537.36

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker

you need to make your string match exactly the text given to you, invluding a(n)

Thanks for the feedback, but now I having issues with the steps: 14, 15, 23 and 24 related to the format and the console.log related to the first and second story.

  1. 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.
    1. You should log your first story using the message "First story: [firstStory]" .
let adjective;

let noun;

let verb;

let place;

let adjective2;

let noun2;

adjective = "Big";

noun = "ant";

verb = "running";

place = "house";

adjective2 = "small";

noun2 = "mice";

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

adjective = "small";

noun = "dog";

verb = "jumping";

place = "park";

adjective2 = "big";

noun2 = "children";

const secondStory = " Once upon a time, there was a(n) " + adjective + " " + noun + " who loved to play with " + noun2 + ". The " + noun + " lived in a " + place + " and had " + adjective2 + " nostrils that blew fire when it was " + verb + ".";

console.log(secondStory);

I’ve edited your post to improve the readability of the code. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

for 14: your string should match exactly, that means also spaces, including the one at the beginning that should not be there.

for 15: look again what you are asked to print

you are only printing the story, not the other part of the string that is asked there