Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

Hello, I keep getting errors. It says that both of my story formats are wrong but I have gone trough them over and over and just cant find the mistake. My head is literally hurting lol. Someone please help.

Your code so far

let adjective = "small";
let noun = "dog";
let verb = "angry";
let place = "apartment";
let adjective2 = "big";
let noun2 = "shoes";

let firstStory = "Once upon a time, there was a " + 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 = "enormus";
noun = "Dragon";
verb = "happy";
place = "castle"
adjective2 = "red";
noun2 = "dogs";

let secondStory = "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("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/137.0.0.0 Safari/537.36

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker

Welcome to the forum @ramidiego89

Try this form of the article.

 a(n) 

Happy coding

1 Like