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!
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
i've done it everyway possible. it still won't work.
i've tried with a space and a comma. before and after. i've tried it with just a space before the comma. nothing is working.
var months = ['January','February','March','April','May','June','July','August','September','October','November','December']; var monthsString = months.join (' , '); console.log (monthsString);
Jason AndersTreehouse Moderator 145,855 Points
Hi Kim Dallas
You're close. Everything is syntactically correct, but if you have a look at the error message the Code Checker is giving, it will tell you exactly what is wrong:
Bummer: You must pass a string with a comma AND a space -- ', ' -- as the argument to the
You are passing a space AND a comma AND a space. If you delete that first space the task will pass.
Nice work! :)
thank you. Jason. so the space has to be behind the comma.