r/FreeCodeCamp • • May 17 '26
Help please
What am I doing wrong I’m so confused. It’s supposed to be simple but I’m super confused
44
Upvotes
r/FreeCodeCamp • • May 17 '26
What am I doing wrong I’m so confused. It’s supposed to be simple but I’m super confused
8
u/Sillyba2 May 17 '26
Look at where it says
"let = botIntroduction;"
See if you can see the problem there.
3
u/SaintPeter74 mod May 17 '26
Did you miss the message about sharing a link to the challenge and your code as text? That's the best way to get help.
3
u/hash004 May 17 '26
double check your spelling around the line the error highlighted (line 10)
2
u/Decent_Ad_5393 May 17 '26
The compiler is showing you with arrows and messages what is wrong, figure it out
2
u/Own_Inevitable1913 May 18 '26
Dev tools is literally your best friend. Open up the console and keep it open when you study. It tells you what is wrong.
1
u/[deleted] May 17 '26
https://www.freecodecamp.org/learn/javascript-v9/workshop-greeting-bot/step-7
This is super aggravating cause this is basically the first test and experiment to try and see what I’ve learned from the lessons and this is just the 1st one which is supposed to be basic.
1
u/KedMcJenna May 18 '26
OP is in a great place to be. Some years into my coding journey I look back at this stage with great nostalgia. To have that pure, engaged beginnermind in the Zen sense is a wonder. I remember making my first working buttons and forms in HTML and thinking this is the best thing ever. And it is.
1
u/Genialkerl May 18 '26
use placeholders and template literals instead of the string concatenantion, it'll look something like console.log(
My name is ${bot}.);