Hi, Cannot pass test 14 and 23 in regards to the story’s format, I’ve tried a lot things is there a way that someone can review the code and help me spot the mistake.
best regards,
Your code so far
let adjective = "green";
let noun = "dragon";
let verb = "hungry";
let place = "castle";
let adjective2 = "seven";
let noun2 = "carrots";
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 = "blue";
noun = "puppy";
verb = "a little hungry";
place = "masion";
adjective2 = "two";
noun2 = "rice";
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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
let adjective ="green";
let noun ="dragon";
let verb ="hungry";
let place ="castle";
let adjective2 ="seven";
let noun2 ="carrots";
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 ="blue";
noun ="puppy";
verb ="a little hungry";
place ="masion";
adjective2 ="two";
noun2 ="rice";
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);