Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
Nick is asked, "Should you learn JavaScript before HTML5?"
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
[Treehouse Teacher Q & A]
0:00
[Question: Is it important to work your way through JavaScript when you are using HTML5?]
0:04
Is it important to learn JavaScript before you learn to use HTML5.
0:09
It depends on what you want to do with it.
0:11
If you just want to use the tags, then go ahead and mark up your webpage with--
0:13
better structure, using things like deception tag or the article tag,
0:20
then no--you don't need to learn JavaScripts to go ahead and do that
0:25
you can just go ahead and use that right away.
0:29
If you want to use the new JavaScript features of HTML5, then yes--absolutely.
0:31
You'll probably going to need to know JavaScript in order to do that.
0:38
I think you're also going to need to decide whether or not you want your sites
0:42
to be able to gracefully degrade--not so much an issue immediately,
0:46
but your choice of JavaScript library is going to be very affected by whether or not
0:51
you want to use the latest JavaScript features in your application.
0:55
This is something we're going to be having to decide between jQuery1.9 or 1.8
0:59
or even 2.0 when we finally get there.
1:05
because they are phasing out support for older versions of browsers
1:07
and moving towards supporting new ones.
1:11
I mean Internet explorer has typically been a bane in developers' sides,
1:14
but 10 and up are awesome and actually support a lot of the stuff that we want to see these days.
1:19
[Question: Is it important to work your way through JavaScript when you are using HTML5?]
1:26
[Treehouse Teacher Q & A]
1:27
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