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
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.
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.
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.