Chrome Developer Tools

Projected Time

About 1 hour

Prerequisites

None

Motivation

Chrome Developer Tools help tremendously with front-end development (HTML, CSS & JavaScript) and are also useful for running and debugging JavaScript code.

Objectives

Participants will be able to

Specific Things to Learn

Materials

Common Mistakes / Misconceptions

Demonstration

The instructor demonstrates how to use Chrome Developer Tools during the video walkthrough.

Group Practice

None.

Independent Practice

  1. Techtonica staff will assign you a pair partner.

  2. Navigate to one of your favorite websites.

  3. Open the source code using the Quick Source Viewer Chrome Extension. Discuss what you see with your pair partner.

  4. Open the Developer Tools pane and navigate to the “Elements” tab.

4a. Activate the mouseover tool and hover over different elements of the webpage. What parts of the HTML & CSS code become highlighted when you mouseover certain parts of the webpage?

4b. Deactivate the mouseover tool. Click on the mobile tool and view the webpage on a variety of screen sizes. Is the webpage responsive (elements change size and layout based on screen size) or not?

  1. Open the JavaScript console. What do you see?

Challenge

Participants can explore inside Chrome Developer Tools and see what other functionality it has.

Supplemental Materials

Check for Understanding

  1. List the keyboard shortcuts that you can use to access webpage HTML elements, the Source Code Viewer, and the JavaScript console, respectively.

  2. When would it be helpful to use the JavaScript console (as opposed to the Source Code Viewer)?

  3. What are some advantages of using the Quick Source Viewer extension (as compared to the Source Code Viewer)?