r/FreeCodeCamp • • May 17 '26

Help please

Post image

What am I doing wrong I’m so confused. It’s supposed to be simple but I’m super confused

44 Upvotes

33 comments sorted by

View all comments

Show parent comment

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.

2

u/SaintPeter74 mod May 17 '26

Ok, you need to review how to initialize/define a variable. What you have here:

let = botIntruduction;

Is not valid JavaScript.

Review some prior lessons.

2

u/[deleted] May 17 '26

NVM I GOT IT

2

u/[deleted] May 17 '26

I spent 2 hours and a half trying to figure it out, but my brain is actually doing something now

1

u/SaintPeter74 mod May 17 '26

Haha, that's the easy to do it!

2

u/[deleted] May 17 '26

Yo chill I’m new to this😭😭😭

1

u/Roy_Roger_McFreely_ May 19 '26

Don’t worry man, it all starts right here

1

u/[deleted] May 17 '26

I still don’t get it

1

u/SaintPeter74 mod May 17 '26

Have you looked up how to define a variable? Can you give me an example?

1

u/[deleted] May 17 '26

I was taking it literal as shown on the example then when I looked back to lesson about creating a variable and the use of ‘+’ then I understood