/
CS 418 : Week 2 Chrome  DevTools CS 418 : Week 2 Chrome  DevTools

CS 418 : Week 2 Chrome DevTools - PowerPoint Presentation

volatilenestle
volatilenestle . @volatilenestle
Follow
343 views
Uploaded On 2020-08-26

CS 418 : Week 2 Chrome DevTools - PPT Presentation

Sushma Kini MARY PIETROWICz Zhicheng YAN Chrome DevTools Builtin Debugging tool in Google Chrome Why do you need to know this To debug your code To set J avascript breakpoint ID: 803088

element devtools breakpoint chrome devtools element chrome breakpoint html shift https code inspect courses cmd engr illinois open cs418

Share:

Link:

Embed:

Download Presentation from below link

Download The PPT/PDF document "CS 418 : Week 2 Chrome DevTools" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

CS 418 : Week 2Chrome DevTools

Sushma

Kini

MARY

PIETROWICz

Zhicheng

YAN

Slide2

Chrome DevTools Built-in Debugging tool in Google Chrome

Why do you need to know this?

To debug your code

To set

J

avascript

breakpoint

To find any kind of layout issues

Slide3

Accessing DevTools Go to Chrome Menu. Select Tools -> Developer Tools

Right – click on any page element and select inspect element.

Shortcuts:

Ctrl+Shift+I

(

Cmd

+ Opt + I on Mac) to open

DevTools

Ctrl+Shift+J

(

Cmd

+ Opt + J on Mac) to open Console

Ctrl+Shift+C

(

Cmd

+ Shift + C on Mac) to open

Devtools

in Inspect element mode

Slide4

DevTools Window - ELEMENT

Elements Panel: Inspect and Live-edit the HTML and CSS of the webpage.

Slide5

DevTools Window - SOURCESSources Panel: Used to debug your JavaScript code using breakpoints.

Slide6

Setting up a breakpoint

Breakpoint on a line of code

Breakpoint on JavaScript Event Listener

Slide7

DevTools Window - CONSOLEConsole Panel: Used to log diagnostic information in the development process and provide shell prompt which can be used to interact with the document and

DevTools

.

Slide8

Debugging Examples1) https://courses.engr.illinois.edu/cs418/hello1.html

2)

https://

courses.engr.illinois.edu/cs418/hello2.html

3)

https://

courses.engr.illinois.edu/cs418/hello3.html

Slide9

REFERNCES1) https://developers.google.com/web/tools/chrome-devtools/

ANY QUESTIONS?