Help! Getting error on basic JS concatenation task

Can somebody explain why I’m getting this error? It’s a basic task, but I’m still getting a full error. I tried to get help from ChatGPT, but it seems even the LLM itself is clueless. I’ve attached a screenshot of my screen.Please help me.

Welcome to the forum @mariumkhatunbl2020 !

Looks okay to me, too. Would you please post your code rather than a screenshot so I can test to make sure my “rainy morning” brain is not missing something?


When you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge.

The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

Happy coding!

1 Like

Hello !

The code seems okay to me too. However you may be redefining the botLocation variable whose supposed to already be defined at line 6 in the given code, which might interfering with the verification of the platform.

Try removing the extra declaration or resetting this step (right next to the help button).

Hope you resolve this.

Build a Greeting Bot - Step 8 Here is it

I will close this topic. Please don’t post duplicate topics for the same step. Please see your other topic.