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 trialSardor Latipov
5,609 PointsI still don't get how to fix bugs
I'm confused. Let's say I find out after launching my website, it has has bugs or I want to make changes.. How do I fix it? edit my code and re upload it to server? or I can fix it only using google chrome editing tools? confused
4 Answers
Christopher Ford
3,407 PointsI see your concern, but don't worry! Any changes you make in the developer tools are not permanent. In fact, they aren't doing anything to the live site at all. Think of it like having an overlay on your website; you can make any changes you want, but when you take the overlay away, the original site is unchanged.
Try it yourself - go to a site like Amazon and open the dev tools. You can make as many changes as you want, but they aren't affecting the live code in any way.
This is why you will need to make a note of any changes you make during testing of your own site and replicate them in your code editor before re-uploading the site to your server.
Christopher Ford
3,407 PointsHi Sardor,
The browser developer tools are a great way to tweak things on a 'live' site (whether that be out on the internet or just locally). If you know or can see that something isn't quite right on your site, it's a great idea to use the dev tools to make some adjustments and get instant feedback as to whether these adjustments actually fix the problem.
Once you are confident that you have made the correct changes, you can then go ahead and replicate these changes in your code and re-upload your site to the server.
I hope this helps, Chris
Sardor Latipov
5,609 PointsThanks Christopher. Another thing I don't understand is, does anyone visiting my site can make changes to it using this tools? How does it know it's me? Do I need to login somewhere? I haven't launched my website yet. Thank you again!
Sardor Latipov
5,609 PointsNow it's clear to me. Thanks a lot Christopher.
Christopher Ford
3,407 PointsYou're welcome! :)