From the course: Building a Resilient Web
Unlock this course with a free trial
Join today to access over 24,000 courses taught by industry experts.
Progressive JavaScript
From the course: Building a Resilient Web
Progressive JavaScript
- [Instructor] JavaScript developers have been using progressive enhancement approaches as part of their standard toolkit since the very beginning. Because JavaScript is an imperative coding language and we write step-by-step instructions for the browser, it's always been possible to say, hey browser, try to use this feature and if you don't recognize it, here is the custom feature I built to do the exact same thing. That makes more sense if you see it in context. So consider the append method, a newish feature in JavaScript, that appends one or more DOM nodes as new children to a parent node. It makes injecting new HTML elements into an existing document a really straightforward process and is actually part of a set of several different methods that do the same thing in existing elements. The problem is older browsers don't support this method. So if you try to run it in an older browser, the browser won't understand it…
Contents
-
-
-
-
-
-
(Locked)
Progressive enhancement2m 43s
-
(Locked)
HTML as the baseline3m 23s
-
(Locked)
Accessible, by default3m 30s
-
(Locked)
Progressive CSS4m 24s
-
(Locked)
Progressive JavaScript2m 51s
-
(Locked)
Link persistency5m 23s
-
(Locked)
Service workers add reliability2m 10s
-
(Locked)
Web Components to the rescue2m 42s
-
(Locked)
-
-
-