Introduction: Editing a Webpage in Google Chrome

About: I am a computer programming, book reading, music making DIYer!

What if I told you that you could edit any webpage or website on the internet right from your home computer without any special software or insane computer programming skills? It's easy! The only thing that you need to make this trick work is the popular web browser Google Chrome. This trick will allow you to change the appearance of any webpage on your local machine. This means that it is localized; only you can see this, as it is only affecting the static page on your machine. It is also temporary. Once you refresh, reload, whatever, the changes you made will be lost. However, this is still a fun and potentially useful trick.

Sorry in advance if the picture quality is not desirable, the screenshots that I took were not high quality.

Step 1: Use the Developer Tools

In Google Chrome, there is a feature known as 'Developer Tools'. This is similar to an onscreen view of the webpages' source code, except that it is in some ways dynamic. You can change the code that you see, and the webpage will respond accordingly. So, how do we access this magical feature? Simple. On your keyboard, press

Ctrl + Shift + I

Mind you, that is an uppercase i (I), not a lowercase l (L). If you prefer to access this feature without your keyboard, or don't want to try and remember the keyboard shortcut, never fear. Simply press on the Tools button in the upper right-hand corner. It will either look like a wrench, or a series of three lines on top of each other. Once there, hover over the menu item labeled Tools, about halfway down the menu. There will be another menu that appears. Near the bottom is an item labeled Developer Tools. Click on it. Now you have access to Chrome's dynamic source editor. To edit HTML/CSS, navigate to the tab marked Elements. To use the JavaScript Console, select the tab marked Console.

Step 2: Editing the HTML

If you want to edit the HTML of the webpage, it's very easy. If the specific item that you want to edit is visible, use your mouse to scroll over the source code. As you do, the part of the webpage that that item or container controls will be highlighted, most likely in blue. If the source that your mouse is hovering over is a container, click the little drop down arrow to its immediate left. Once you have the element that you want, right click it. A menu will appear; select the item that is labeled Edit as HTML. Now, you can make the changes you want to the source. When you are done, click anywhere outside of the editor. Now, the webpage is updated to your specifications.

Step 3: Editing the CSS

If you want to change anything about the actual appearance of the webpage, like it's color for example, then you need to edit the CSS. This is done in much the same manner as is editing the HTML. Simply hover over the source until the part of the webpage that you want to edit is highlighted. Click on the corresponding source element. Now, shift your attention to the right side of the Source Editor. Here, you see the CSS editor, where you can change the appearance of the selected element. To change this code, just click on the desired item and preform your changes. 

Step 4: Where to Go From Here?

If you are already proficient in HTML, JavaScript, or CSS, then you can jump right into editing any webpage that you want. If you aren't, I would recommend trying to learn at least some basics. A great resource is w3schools. It has tutorials and code examples for almost everything you can think of. Happy coding!