Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

please help me i got stuck here i tried all means but things are not working out

Your code so far

let adjective = "brave";
let noun = "dragon";
let verb = "angry";
let place = "mountain";
let adjective2 = "fiery";
let noun2 = "marshmallow";

let 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("First story: " + firstStory);

adjective = "silly";
noun = "unicorn";
verb = "excited";
place = "forest";
adjective2 = "sparkly";
noun2 = "cupcakes";

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

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker

make sure you are using the exact story format provided, make sure you use the same exact spacing and punctuation

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.