Tell us what’s happening:
it says the log is wrong i tried all the things but the “First story: [firstStory]” and same for the second story says its wrong i tried all the ways possible thats the only issue
Your code so far
let adjective=“beautiful”;
let noun=“girl”;
let verb=“pulled”;
let place=“Kathmandu”;
let adjective2=“hot”;
let noun2=“Potato”;
let firstStory;
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+“]”);
let secondStory;
adjective=“pretty”;
noun=“boy”;
verb=“kissed”;
place=“hut”;
adjective2=“cool”;
noun2=“Tomato”;
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+“]”);
let adjective="beautiful";
let noun="girl";
let verb="pulled";
let place="Kathmandu";
let adjective2="hot";
let noun2="Potato";
let firstStory;
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+"]");
let secondStory;
adjective="pretty";
noun="boy";
verb="kissed";
place="hut";
adjective2="cool";
noun2="Tomato";
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/146.0.0.0 Safari/537.36
Challenge Information:
Build a Sentence Maker - Build a Sentence Maker