From the course: JavaScript for Web Designers

Compatibility notes - JavaScript Tutorial

From the course: JavaScript for Web Designers

Start my 1-month free trial

Compatibility notes

- [Instructor] A couple notes on compatibility. In this course we're working through examples that come from my work in the real world where we have to care about compatibility with older browsers, but I want to mention where we're drawing the line for the purpose of this course. First of all, Internet Explorer and other ancient, in internet terms, browsers, we're sticking with web standards in this course, and we're not going to lose sleep working around the weird behaviors of these older browsers. They're still out there, but as long as we enhance our pages with JavaScript and are careful about it, our sites will still be accessible which is the important thing. So everything you see in this course will work in modern web browsers like Chrome, Firefox, Safari, Edge, and Internet Explorer 11. Every once in while I'll mention something about browser compatibility, but for the most part it is no great concern for our discussions. Also we're not going to be using ECMAScript 6 or ECMAScript 2015 in this course. We're getting closer all the time to being able to use these more modern JavaScript features, but that day has not yet arrived, so we're going to stick with ECMAScript 5 here which works everywhere without issue. Finally, this won't be the first time I say this. We're not going to use JavaScript where we could use CSS. CSS is very well supported and does what it does efficiently and well so our examples will focus more on what JavaScript is good at then on things where you could pick one or the other.

Contents