Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript JavaScript Basics (Retired) Storing and Tracking Information with Variables Combining Strings

i'v been repeating var message many time, which one is original var message each time?

i'v been repeating var message many time, which one is original var message each time?

Steven Parker
Steven Parker
229,921 Points

Do you have some code to post that would illustrate your issue?

I agree with Steven, we can't assist given the details you provided. An example and/or more details of what's happening could help.

Mousa Zeidan
Mousa Zeidan
2,490 Points

I think I know what you're doing wrong. You only need to type 'var' once, when you first declare the name of your variable. Do not continue to add 'var' in front of your variable name after, as this will cause an error.