Search results

A click on an element with the attribute data-toggle-id will show/hide the element with the given id:… Now, to add toggling functionality to an element – there’s no need to know JavaScript, just use the attribute… data-toggle-id.
The elem.classList is a special object with methods to add/remove/toggle a single class.… string value, good to manage the whole set of classes. classList – the object with methods add/remove/toggle
There’s a checkbox at the bottom: Now Cmd+Opt+C can toggle the console.