Tell us what’s happening:
Please help me review my code. I feel like it’s the spaces… (._.`). At first, I did the right spacing.. then deleted the spaces cause it said “use the right story format” (I was confused,okay) I would really appreciate your constructive criticism and please refrain from showing me your codes.. I just wanna learn. Thank you.
Your code so far
let adjective ="beautiful";
let noun ="girl";
let verb ="singing";
let place ="river";
let adjective2 ="pretty";
let noun2 ="trees";
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 ="handsome";
noun ="boy";
verb ="dancing";
place ="cliff";
adjective2 ="small";
noun2 ="stones";
let secondStory ="Once upon a time, there was a(n)"+ adjective +" "+ noun +" who loved to collect "+ noun2 +"."+" The "+ noun +" went to the "+ place +" and threw "+ adjective2 +" pebbles while "+ 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/138.0.0.0 Safari/537.36
Challenge Information:
Build a Sentence Maker - Build a Sentence Maker