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 trialAnthony c
20,907 PointsCreating variables
I found the part where we suddenly refactored our code with variables to be a distraction.
I understand it was just to get us used to refactoring and making our code dry, but I feel like it threw my focus off the of the core underlying concept we're trying to understand... it would have been better to finish the tutorial and do the refactor at the end, or not at all.
I'm referring to:
var $password = $("#password");
var $confirmPassword = $("#confirm_password");
john larson
16,594 Pointsjohn larson
16,594 PointsI have to confer with Anthony. I would have liked to see the whole thing without being refactored first. I'm sure lots of people can keep up just fine but I'm really working to grasp these concepts. Andrew, thank you for your teaching...I'll keep at it till I get it.