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

JavaScript Regular Expressions in JavaScript Validating a Form Validating a Password

Acknowledging online sources

Hey all,

In Joelโ€™s course on regular expressions, he discusses how there are likely already solutions to a number of regular expression needs available online.

He provides this snippet as an example:


My question is about best practice in web development. To what extent should we be referencing or acknowledging the source when we take solutions we find online?

Interested in answer to this also!