Tell us what’s happening:
Heres what seems to be wrong but id ont know how that is wrong it says that this is the order
15. You should assemble your first story using the variables you declared in the correct order.
25. You should assemble your second story using the variables you declared in the correct order.
Your code so far
let adjective = "beautiful";
let noun = "wife";
let verb = "kissed";
let place = "house";
let adjective2 = "charming";
let noun2 = "litchis";
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);
// Reassign values for second story
adjective = "beautiful";
noun = "husband";
verb = "hugged";
place = "room";
adjective2 = "lovely";
noun2 = "oranges";
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/142.0.0.0 Safari/537.36 OPR/126.0.0.0
Challenge Information:
Build a Sentence Maker - Build a Sentence Maker