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

Marty Hitchcock
13,108 PointsWhat stops people from taking my web app code and using it?
If I can use chrome inspector to view all my files, then surely someone else can too and just host the files themselves, right? If so, how do people stop this from happening?
2 Answers

Riku S.
11,322 PointsWeb apps are always using some server side language like php, so you will not see all the files and code by using chrome inspector. You can only see the html that is created (output) by some other language, css and js files, images etc.
If you're talking about basic websites, well, they are easy to duplicate, but why would someone want to do that? It's illegal and that doesn't make anyone a better developer. But inspecting the codes and trying by yourself will make you a better coder for sure.

Gunhoo Yoon
5,027 PointsAs far as I know you cannot hide client side components like html/css/javascript. It is like a software or games where user get full control of the shipped product.
Marty Hitchcock
13,108 PointsMarty Hitchcock
13,108 PointsMy app is entirely made up of html/css/javascript, so it is all there for people to see.