Tell us what’s happening:
I
noun2 = “cupcakes”;
place = “forest”;
adjective2 = “fuzzy”;
verb = “sleeping”;
let secondStory = "Once upon a time, there was a(n) " + adjective + " " + noun +
" who loved to eat " + noun2 + ". The " + noun + " lived in a " + place +
// running tests
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.
// tests completed
// console output
help
Your code so far
let adjective = "mysterious";
let noun = "boy";
let noun2 = "cookies";
let place = "castle";
let adjective2 = "magical";
let verb = "breathing";
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 = "tiny";
noun = "kitten";
noun2 = "cupcakes";
place = "forest";
adjective2 = "fuzzy";
verb = "sleeping";
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
Challenge Information:
Build a Sentence Maker - Build a Sentence Maker