Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

Hello, please I need assistance in getting through Test-14 and Test-24

Your code so far

let adjective; 
let noun;
let verb;
let place;
let adjective2;
let noun2;

adjective = "Fat";
noun = "Boy";
verb = "dirty";
place = "Uk";
adjective2 = "Big";
noun2 = "Beans";

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 = "Slim";
noun = "Boy";
verb = "drives";
place = "coventry";
adjective2 = "southern";
noun2 = "food";

let secondStory = (`There also lived a ${adjective} ${noun} who barely eat ${noun2}. The ${noun} always travel to see the family in a small city called ${place} which is located at the ${adjective2}  part of the Uk, he  ${verb} to and fro.`);
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/144.0.0.0 Safari/537.36

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker

Hi. Your first story variable text has an extra space before ‘nostrils’. Your second story variable text needs to be in the same format as the first story.

1 Like

That was the issue, thank you very much for your help.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.