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

General Discussion

Is it bad to use people's code?

Hello,

Is it bad to use codes from websites like these?

What methods do people use? Do people just copy and make their own. I'm very confused on whether or not it's fine. It wouldn't look good for me?

Thank You,

Tomy Lim

2 Answers

Its perfectly fine to use other people's code, as long as abide by any usage terms and conditions.

A lot of designers and developers will post code they encourage others to use to promote personal blogs or show off their skills. :)

Just don't go copy and pasting code from a document source and passing it off as your own.

Tomy,

Everyone in the web development community stands on the shoulders of those who have gone before and even professionals don't make everything from scratch. Every time you use Bootstrap or Bourbon or a gem you are borrowing and utilizing code that others have made available for your use.

Especially as a beginner you should be looking at a lot of people's page source code and trying to understand it. Part of that understanding process is trying to copy it and adapt it to your own needs. There is nothing wrong with that.

But you won't be able to be a professional web developer if all you can do is copy and paste code or if you rely solely on templates like the above. You need to keep learning and trying to make your own code so that, even though you often use other people's gems, you could build a gem of your own if need be. Even if you use Bootstrap, you understand HTML and CSS well enough to bend Bootstrap to your will, etc.

There is nothing wrong with using those forms, just make sure you look under the hood and try to understand how they made those forms so you can make forms like that in the future using your own knowledge and skills.

Nathan

Thank you for your words. Just trying to figure things out.

Tomy