JavaScript
Window
The window object represents the browser window or frame and also inherits all of the global JavaScript core properties
Articles & Resources
- Document - Web API reference | MDN
- ES6 Modules in Depth
- Global Objects - JavaScript | MDN
- JavaScript | MDN
Multi-Filter
This code sample shows how to create a multiple list filter using vanilla JavaScript (no jQuery). Filtering is done by counting matches of filter selections against matches of the same for each of the element data attributes. Match counts are displayed in each filter label and in the app heading. demo.
Responsive Filter
This code sample shows how to create a responsive list filter using plain JavaScript (no jQuery). JavaScript gets the breakpoint value from a hidden css pseudo element that uses a media query to set its value. Therefore, it is not necessary to maintain rendundant responsive breakpoint values in the script.
querySelector
Basic querySelector
examples including iteration of DOM NodeList returned by querySelectorAll
using either Array.from
or [].slice.call
.
Design Patterns
Design patterns are reusable solutions to commonly occurring problems in software design.
Responsive Filter (jQuery)
This code sample shows how to create a responsive list filter. JavaScript and jQuery fetch the breakpoint value from a hidden css pseudo element that sets the value. Therefore, it is not necessary to maintain rendundant responsive breakpoint values in the script.