I cannot pass 15,16 and 25,26. I’ve followed the correct format.
Your code so far
let adjective = "Apple";
let noun = "Red";
let verb = "Run";
let place = "Castle";
let adjective2 = "Orange";
let noun2 = "Pink";
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 = "Mango";
noun = "Yellow";
verb = "Jump";
place = "Town";
adjective2 = "Banana";
noun2 = "Ripe";
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/143.0.0.0 Safari/537.36
That works, but still having issues with solution tests 16 and 26. Here’s my code
let adjective = "Apple";
let noun = "Red";
let verb = "Run";
let place = "Castle";
let adjective2 = "Orange";
let noun2 = "Pink";
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 = "Mango";
noun = "Yellow";
verb = "Jump";
place = "Town";
adjective2 = "Banana";
noun2 = "Ripe";
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 + '"');