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 trialCharlie Harcourt
8,046 PointsDifference in my code and lecturer code
He assigned 'movie' to 'thing' whereas I didn't yet we got the same results. Does it matter?
here is my code: https://w.trhou.se/qrmjc37h18
1 Answer
Steven Parker
231,264 PointsThe final result is the same, but the purpose of the exercise is to practice combining variables and strings together.
So essentially, you just skipped parts of the exercise by writing strings that contain what you would have made by concatenation with the "thing" variable. The difference is not what the code produces, but what you've learned in the process.