Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed jQuery Basics!
You have completed jQuery Basics!
Preview
Learn three principles of unobtrusive JavaScript: a helpful approach when building web page functionality with jQuery.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
an approach for how to use JavaScript
on webpages, unobtrusive JavaScript.
0:00
Unobtrusive JavaScript is
basically three principles.
0:01
The first is that JavaScript, as the
functional layer of webpages, should be
0:05
kept separate from the structural and
presentational layers, the HTML and CSS.
0:09
We've got that covered by keeping all
of our JavaScript in a separate file.
0:14
The second principle is that cross-browser
inconsistencies should be accounted for.
0:20
Users should have similar experiences,
regardless of which browser they're using.
0:25
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up