Build a Sentence Maker - Build a Sentence Maker

Tell us what’s happening:

I have done about everything that I can think of to compare the desired output with my output and I don’t see any difference, and neither does chatGPT or multiple text compare apps.

Your code so far

//declaration
let adjective='manki';
let noun='Mat';
let verb='doing';
let place='Chandrapur';
let adjective2='things';
let noun2='sali';
//first story
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 + ".";

//consoling
console.log("First story: "+firstStory);
//second assignment of value
adjective='soke';
noun='Sandi';
verb='throtling';
place='Rajura';
noun2='deg'
adjective2='brillent';
const secondStory= "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("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/134.0.0.0 Safari/537.36 Edg/134.0.0.0

Challenge Information:

Build a Sentence Maker - Build a Sentence Maker
https://www.freecodecamp.org/learn/full-stack-developer/lab-sentence-maker/build-a-sentence-maker

you need to write it exactly as given, that includes the a(n) part

1 Like

ChatGPT doesn’t actually know anything. It statistically ‘guesses’ words to put together based upon the words you feed it.

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