Tell us what’s happening:
what is the correct variables order in sentence maker task?
Your code so far
let adjective = 'handsone';
let noun = 'man';
let verb = 'pressed';
let place = 'Indonesia';
let adjective2 = 'beautiful';
let noun2 = 'spagetti';
const 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 = 'pretty';
noun = 'woman';
verb = 'touched';
place = 'malaysia';
adjective2 = 'awesome';
noun2 = "nasi kucing";
const 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/143.0.0.0 Safari/537.36 Edg/143.0.0.0
Challenge Information:
Build a Sentence Maker - Build a Sentence Maker