Skip to content

Instantly share code, notes, and snippets.

View michellemartir's full-sized avatar

Michelle Martir michellemartir

View GitHub Profile

Keybase proof

I hereby claim:

  • I am michellemartir on github.
  • I am martir (https://keybase.io/martir) on keybase.
  • I have a public key ASCtTlFpHQSbCuTWvsx8xqs93kY7yNa9xL5122NQU9Qttwo

To claim this, I am signing this object:

@michellemartir
michellemartir / show-section-headings.js
Created August 10, 2018 13:55
Show Section Headings in Console
for (var i = 0, headings = $$('h1,h2,h3,h4,h5,h6');
i < headings.length; i++) {
console.log(headings[i].textContent.trim() + " " +
headings[i].tagName,
headings[i]);
}