Tell us what’s happening:
// running tests
14. You should use the correct story format for the first story: “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].”. Pay attention to spaces.
15. You should assemble your first story using the variables you declared in the correct order.
24. You should use the correct story format for the second story: "Once upon a time, there was a(n) [adjective] [noun] wh
Your code so far
let adjective = "beautiful";
let noun = "wife";
let verb = "kissed";
let place = "house";
let adjective2 = "charming";
let noun2 = "Litchis";
const firstStory ="Once upon a time, there was a "
+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 = "beautiful";
noun = "husband";
verb = "hug";
place = "room";
adjective2 = "lovely";
noun2 = "oranges";
const secondStory = "As a happily married husband, I have a " + adjective + " " + noun + " that loves so much to eat " + noun2 + ". My " + noun + " Lives with me near " + place + " and she has a " + adjective2 + " smile and whenever i see her I like to " + verb + " her.";
console.log("Second story: " + secondStory);
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Challenge Information:
Build a Sentence Maker - Build a Sentence Maker
// running tests
14. You should use the correct story format for the first story: “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].”. Pay attention to spaces.
15. You should assemble your first story using the variables you declared in the correct order.
24. You should use the correct story format for the second story: “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].”. Pay attention to spaces.
// tests completed
// console output
First story: Once upon a time, there was a beautiful wife who loved to eat Litchis. The wife lived in a house and had charming nostrils that blew fire when it was kissed.
Second story: As a happily married husband, I have a beautiful husband that loves so much to eat oranges. My husband Lives with me near room and she has a lovely smile and whenever i see her I like to hug her.