How to deal with loosing information Edit

At times, when users embed code into their sites/blogs, they over-write some of their main CSS, HTML, JavaScript, or PHP because they inserted new code. CTRL Z or Apple Z in some cases can be the answer, but not always. Sometimes you realize when you put the page online that you over-wrote something, and it was too late to fix it because you already submitted it. So, what do you do? Well, allow me to explain. Below, I will explain when you take code, how to take backups and make sure your not over-writing something.

Organizing information Edit

Organizing information is important because it helps when you edit and publish code online. Information is very wide, and when you try to get Darkcentral Connect Live on your website, it will become very hard to edit stuff it your not organized. I will give you some tips to help you organize your HTML, JavaScript, and PHP. The rules apply to all languages because it all requires the same basic concept. I will give you some tips that will help in organzing, and taking backups.

Ways to stop over-writing information Edit

As I said before, it's very easy to over-write information and loose it. For example, when you writing a comment, and you insert some JavaScript you may insert the code halfway into the message of the comment and won't be able to get it back. The best way to avoid this is use a comment tag in HTML. When you seperate it by saying one section is Navagation then Search and then Main content, it will be hard for you to screw up. So below is just some basic tips to help you when insterting code and writing stuff.

- Create comments to tell you where things are

- Create dashboards or use the <div id="NAME HERE </div> tag

- Use Meta tags at the top of pages to identify their location and information

If you use these tips above, then you will probably never over-write or delete information by accident. It helps: I learned it the hard way :)