Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Details on <details>

Details on <details>

Mu-An Chiou

July 19, 2018
Tweet

More Decks by Mu-An Chiou

Other Decks in Technology

Transcript

  1. Who this Mu-An Chiou Web Systems Engineer @ GitHub Taiwan

    #1 GitHub @muan / Twitter @muanchiou
  2. Why not this el.addEventListener('click', e => { const thing =

    document.querySelector(‘.thing’) thing.style.display = ‘none’ })
  3. Dropdown menu <div class=“dropdown js-menu-container”> <button class=“btn js-menu-target” aria-haspopup=“menu”>…</button> <ul

    class=“dropdown-content js-menu-content”> <li><a href=“/muan">profile</a></li> … </ul> </div>