Skip to content

Instantly share code, notes, and snippets.

@Bijesse
Forked from glumac/DevTools.md
Created July 15, 2016 19:39
Show Gist options
  • Select an option

  • Save Bijesse/b2f424a08353bbdfe6f106c65a6425fe to your computer and use it in GitHub Desktop.

Select an option

Save Bijesse/b2f424a08353bbdfe6f106c65a6425fe to your computer and use it in GitHub Desktop.

🖥 🛠 Dev Tools 🖥 🛠

1. What are Dev Tools and why should we use them? ❓❓❓

  • our window into what is going on behind the scenes of a web application (We'll be using Chrome's tools, but other browsers have as well)
  • how we troubleshoot
  • can examine or "borrow" styles or code from other websites

2. Dom Manipulation (“Elements” Tab) ✏️️✏️️✏️️️️

  • selecting elements
  • changing content of elements
  • moving elements
  • adding/changing attributes
  • removing elements
  • Questions:
    • Do these changes affect the actual content of our code?
    • If not, why do we bother to change elements in the browser instead of our code base / IDE?

3. Updating Syles 🎨 🎨 🎨

  • Styles Tab (element.style vs changing style by selector)
  • Toggling Styles
  • Changing Styles
  • Adding styles
  • Element state
🏋 POWER USER:

Computed Styles. (Why use?)

4. Javascript Console 🔦 🔦 🔦

  • Clear / Preserve Log
  • Full Javascript environment (can console.log, do operations, etc)
  • Debugging

5. BONUS ⏱📱Other Amazing Features in Dev Tools

  • Network
  • Timeline
  • Device View (Must refresh page to work)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment