Skip navigation
Jay-Marr
Currently Being Moderated

CSS3 vs. Javascript.

Sep 11, 2012 5:30 PM

Tags: #adobe #jquery #javascript #html5 #css3

When is it best to just use CSS3 vs. Javascript? Is it a waste of time learning javascript since CSS3 can do so much?

 
Replies
  • Currently Being Moderated
    Sep 11, 2012 6:13 PM   in reply to Jay-Marr

    They are 2 different beasts.  CSS is a language of styling and Javascript is client-side programming. If you are strictly talking in terms of simple animation like a menu, learn CSS, but try to understand Javascript because there are a lot of menus that use effects, or libraries like JQuery which are Javascript based and you can never learn too much.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 12, 2012 12:08 PM   in reply to Jay-Marr

    I think that depends on a) your project and b) target audience.  Older browsers don't support all the cool new CSS3 properties. 

     

    If it's just for eye candy, probably not an issue.  But if it effects usability (being able to see hidden content, for example), then JavaScript alone or in combination with CSS is usually a better choice.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 12, 2012 12:52 PM   in reply to Jay-Marr

    I agree with SnakEyez, with an addition.  Learn JavaScript before learning any of the libraries (jQuery, MooTools, etc.), and definitely learn a library or two, but don't become dependent upon libraries.

     

    For example: AJaX requests.  Learn how to write out XHRs and use them - THEN, learn how to do it via jQuery.  jQuery makes it simple (one line of code), but it's always a good idea to understand the process.

     

    ^_^

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points