Build a Greeting Bot - Step 14

Tell us what’s happening:

what is wrong in here? it keep saying “You should have a console statement…”

Your code so far

console.log("Hi there!");
console.log("I am excited to talk to you.");

let bot;
let botLocation;


// User Editable Region

let favoriteSubject = "Computer Science";
let favoriteSubjectSentence = "My favorite subject is " + favoriteSubject + ".";
console.log(favoriteSubjectSentence);


// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36

Challenge Information:

Build a Greeting Bot - Step 14
https://www.freecodecamp.org/learn/full-stack-developer/workshop-greeting-bot/step-14

it looks like there are things missing, it’s possible it is looking for the I think 6th console.log?

you should reset the step to recover the missing code and try again

Hi there!

Take a look at the line 28, it already has
const favoriteSubject = "Computer Science";

So you don’t need to do it again, remove your declaration
let favoriteSubject = "Computer Science";
and your code will pass