Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Chrome Dev Tools
Search
Frontend NE
July 06, 2017
Technology
510
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Chrome Dev Tools
Frontend NE
July 06, 2017
More Decks by Frontend NE
See All by Frontend NE
Standardizing 'select': What the future holds for HTML - Stephanie Stimac @ FrontendNE
frontendne
4
470
CSS Regression testing - James A Lambert @ FrontendNE
frontendne
1
380
Building a design system for Lloyds Banking - Lilly Dart @ FrontendNE
frontendne
0
1.6k
What I learnt about hiring diverse teams from conducting a fully-anonymous recruitment process - Bethan Vicent
frontendne
0
340
Web Design that Doesn't Make Trans People Uncomfortable - Jessica Kelsall
frontendne
0
800
Contain yourself - Docker for developers
frontendne
2
310
Design process of a website
frontendne
0
370
What the JAMstack?
frontendne
1
1k
Talking the talk
frontendne
0
580
Other Decks in Technology
See All in Technology
ホームラボ紹介
y_sera15
0
220
生成 AI の基礎 〜 サンプル実装で学ぶ基本原理
enakai00
7
4.5k
関東Kaggler会発表資料
takoi
1
270
会社紹介資料 / Sansan Company Profile
sansan33
PRO
24
430k
三人寄ればチューリング完全
puhitaku
5
2.2k
Adding Right-to-Left support to your web application with CSS logical properties — Lessons from Redmine
vividtone
0
160
属人化を叩き割れ!「制作加速」と「安定化」の矛盾を打破する:8年目プロダクトが辿り着いた「ミスが起こり得ない」アセット制作フローの全貌
gree_tech
PRO
0
120
ガバメント AI 源内を地方自治体は活用できるのか可能性と課題、期待について
takeda_h
2
460
AI-DLC実践録_フルサイクル開発への挑戦
miyuc
0
330
35分でわかるEffective Platform Engineering
nwiizo
5
570
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.4k
Rust×eBPFでEDRっぽいものをつくる
sunlife3
2
670
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
970
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Unsuck your backbone
ammeep
672
58k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Being A Developer After 40
akosma
91
590k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Leo the Paperboy
mayatellez
8
2.2k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
41k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
420
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
Transcript
Chrome DevTools @damian
right click + inspect = show DevTools command + option
+ i = toggle DevTools command + option + j = toggle DevTools with Console focussed command + shift + c = toggle DevTools in Inspect Element mode escape = toggle console Opening DevTools
Reload Click and hold refresh icon
Console convenice methods $(‘selector’) = document.querySelector('selector'); $$(‘selector’) = document.querySelectorAll('selector');
Console magic variables $0 - 4 $_ = reference to
last expression
Console copy(variable) = copy to clipboard inspect(element) = open element
in Elements panel
console.log(as, many, args, can, go, here, as, you, like); console.log('%cChrome
dev tools', 'background: red;'); console.log('%cChrome dev tools', 'background: red; font-size: 50px;'); console.log
console.log(‘Today is %s %ith’, ‘July’, 6); Format specifiers Specifier Output
%s String %i or %d Integer %f Float %o Expandable DOM element %O Expandable JavaScript object %c Applies CSS rules
console.assert(expression, “A failed assertion message”); console.dir(element) === console.log('%o', element); console
methods
console.count(label); console.count(string)
function Person(firstName, lastName, age) { this.firstName = firstName; this.lastName =
lastName; this.age = age; } var family = {}; family.mother = new Person("Susan", "Doyle", 32); family.father = new Person("John", "Doyle", 33); family.daughter = new Person("Lily", "Doyle", 5); family.son = new Person("Mike", "Doyle", 8); console.table(family, ['firstName']); console API reference console.table(array | object)
shift + click to toggle between hex, rgb and hsl
shift + click style rule to see CSS in Source panel shift + up to increment a unit by 10 alt + up to increment a unit by 0.1 CSS tips - Styles panel
command + shift + m = toggle device mode Mobile
device testing
blue = maximum width green = range beige = minimum
width Media queries
Landed in Chrome 59!!! Full page screenshots
Network throttling CPU throttling Mobile device testing - Performance panel
method:GET status-code: 200 -method:OPTIONS -.png block network request(Chrome 59) Network
panel
The end