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 Review Concatenation

Conor Sexton
Conor Sexton
4,223 Points

Problem with 'Hello world' question

In the question, "Which of the following creates a string 'Hello world'?" I chose 'D: None of the above' since none of the options included the space in 'Hello world' but it was marked as incorrect.

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hey Conor, The correct answer to the quiz question is 'He' + 'll' + 'o' + ' ' + 'wo' + 'rld' And it does have the space the ' ' between the middle two + signs.

:)

Conor Sexton
Conor Sexton
4,223 Points

Got it, thanks! Looks like I was trying to move too quickly through the quiz and missed that space.

Jason Anders
Jason Anders
Treehouse Moderator 145,858 Points

My problem is usually staring at the computer screen for waaaaay to long. Lol.