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