Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does the arrival of HTML5 and CSS3 affect jQuery?

Tags:

html

jquery

css

About a year ago I picked up my first HTML book (XHTML). I have since built two simple websites with XHTML and CSS. I have also studied the basics of JavaScript.

I now want to learn jQuery.

I am not sure how, if at all, HTML5 and CSS3 make some parts of jQuery redundant - does it?

According to the reviews the best book on jQuery seems to be ‘jQuery in Action’, published 2007.

Do I need to proceed with caution when approaching jQuery, given HTML5 and CSS3? Can someone advise me?

like image 925
Doug Fir Avatar asked Jan 23 '26 07:01

Doug Fir


2 Answers

No, learning jQuery is still fine and what you learn will continue to work. While many things are possible using CSS3 that jQuery may have been required for before, many still required javascript and others are not implemented in older browsers.

like image 58
El Yobo Avatar answered Jan 25 '26 06:01

El Yobo


There is no reason why you can't learn all 3 at the same time. jQuery is fairly easy to get a grasp on for the simple stuff. I recommend the jQuery Cookbook by o'reilly. HTML5 is still changing, but you can play with it now in most modern browsers. The latest versions of jQuery also take these changes into account, so your learning basic jQuery does not become obsolete.

The areas to beware are using the more obscure jQuery plugins, which may not have been tested as thoroughly on all browsers or kept up to date with html5 changes.

Whenever possible I try to use HTML5 and CSS3 if the feature is well supported on the 4 major browsers and seems stable. Otherwise I fall back to jQuery to implement the feature I need.

like image 45
Homan Avatar answered Jan 25 '26 04:01

Homan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!