DOM - Iteration

> (World Wide) Web - (W3|WWW) > The Document Object Model W3C API Interface (DOM)

Table of Contents

1 - About

2 - Web API

const buttons = document.querySelectorAll('.nav-button.is-selected')
  Array.prototype.forEach.call(buttons, (button) => {
    button.classList.remove('is-selected')
})
web/dom/iteration.txt ยท Last modified: 2019/03/12 10:10 by gerardnico