Chrome DevTools

Chrome DevTools
Slide Note
Embed
Share

Chrome DevTools is a powerful set of web developer tools integrated directly into the Google Chrome browser. With these tools, you can view and change the Document Object Model (DOM), inspect and modify CSS styles, debug JavaScript code, and monitor network activity. Explore different panels like Elements, Console, Sources, Network, Performance, and more to enhance your web development workflow. Improve load and runtime performance, monitor memory usage, inspect resources loaded on the page, and address security issues effectively.

  • Chrome DevTools
  • Web Development
  • DOM Inspection
  • CSS Debugging
  • JavaScript Debugging

Uploaded on Feb 20, 2025 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. SVVRL @ IM.NTU Chrome DevTools Chih-Pin Tai 2022/3/2

  2. SVVRL @ IM.NTU Reference Chrome DevTools 2022/3/2

  3. SVVRL @ IM.NTU Outline Overview View and Change the DOM View and Change a Page's Styles (CSS) Debug JavaScript Inspect Network Activity 2022/3/2

  4. SVVRL @ IM.NTU Outline Overview View and Change the DOM View and Change a Page's Styles (CSS) Debug JavaScript Inspect Network Activity 2022/3/2

  5. SVVRL @ IM.NTU Overview (1/5) Chrome DevTools is a set of web developer tools built directly into the Google Chrome browser. You can open the elements panel to inspect the DOM or CSS. 2022/3/2

  6. SVVRL @ IM.NTU Overview (2/5) Chrome DevTools is a set of web developer tools built directly into the Google Chrome browser. You can open the elements panel to inspect the DOM or CSS. 2022/3/2

  7. SVVRL @ IM.NTU Overview (3/5) You can test responsive and device-specific viewports. 2022/3/2

  8. SVVRL @ IM.NTU Overview (4/5) Elements panel: View and change the DOM and CSS. Console panel: View messages and run JavaScript from the Console. Sources panel: Debug JavaScript, persist changes made in DevTools across page reloads, save and run snippets of JavaScript, and save changes that you make in DevTools to disk. Network panel: View and debug network activity. 2022/3/2

  9. SVVRL @ IM.NTU Overview (5/5) Performance panel: Find ways to improve load and runtime performance. Memory panel: Monitor memory. Application panel: Inspect all resources that are loaded, including IndexedDB or Web SQL databases, local and session storage, cookies, Application Cache, images, fonts, and stylesheets. Security panel: Debug mixed content issues, certificate problems, and more. 2022/3/2

  10. SVVRL @ IM.NTU Outline Overview View and Change the DOM View and Change a Page's Styles (CSS) Debug JavaScript Inspect Network Activity 2022/3/2

  11. SVVRL @ IM.NTU Veiw and change the DOM (1/3) DOM Nodes document <html> Attributes <body> <head> Read, Update, Insert, Delete <div> <title> <a> <img> Yahoo! text 2022/3/2

  12. SVVRL @ IM.NTU Veiw and change the DOM (2/3) Inspect a node 2022/3/2

  13. SVVRL @ IM.NTU Veiw and change the DOM (3/3) Edit content Edit attributes (including CSS style) Edit note type Force state Reorder DOM nodes Hide a node Delete a node Edit as HTML Demo 2022/3/2

  14. SVVRL @ IM.NTU Outline Overview View and Change the DOM View and Change a Page's Styles (CSS) Debug JavaScript Inspect Network Activity 2022/3/2

  15. SVVRL @ IM.NTU View a Page's Styles (CSS) View an element's CSS 2022/3/2

  16. SVVRL @ IM.NTU Change a Page's Styles (CSS) Add a CSS declaration to an element Add a CSS class to an element Add a pseudostate to a class Change the dimensions of an element Demo 2022/3/2

  17. SVVRL @ IM.NTU Outline Overview View and Change the DOM View and Change a Page's Styles (CSS) Debug JavaScript Inspect Network Activity 2022/3/2

  18. SVVRL @ IM.NTU Debug Javascript (1/3) alert alert("test"); alert("v="+v); console.log console.log("test"); console.log("v="+v); Sources panel + Breakpoints 2022/3/2

  19. SVVRL @ IM.NTU Debug Javascript (2/3) Sources panel File Navigator Code Editor JavaScript Debugging Breakpoints With breakpoints, you can pause on the relevant code without even knowing how the code is structured. With breakpoints, DevTools shows you the values of all variables at that moment in time. 2022/3/2

  20. SVVRL @ IM.NTU Debug Javascript (3/3) Pause the code with a event listener breakpoint Step through the code Set a line-of-code breakpoint Check variable values Method 1: The Scope pane Method 2: Watch Expressions Method 3: The Console Demo Demo 2022/3/2

  21. SVVRL @ IM.NTU Outline Overview View and Change the DOM View and Change a Page's Styles (CSS) Debug JavaScript Inspect Network Activity 2022/3/2

  22. SVVRL @ IM.NTU Inspect Network Activity (1/3) Log network activity 2022/3/2

  23. SVVRL @ IM.NTU Inspect Network Activity (1/4) Log network activity Demo 2022/3/2

  24. SVVRL @ IM.NTU Inspect Network Activity (2/4) Capture screenshots Demo 2022/3/2

  25. SVVRL @ IM.NTU Inspect Network Activity (3/4) Client Server Database HTML CSS Javascript PHP SQL AJAX 2022/3/2

  26. SVVRL @ IM.NTU Inspect Network Activity (4/4) View Ajax requests and responses Demo 2022/3/2

  27. SVVRL @ IM.NTU Q & A 2022/3/2

More Related Content