+ 6
Which makes a webpage more responsive CSS or JavaScript. And why
4 Antworten
+ 6
I'll go for CSS because it has very good animations and also bcos heavy scripts delay browser loading but not heavy styles
+ 4
oh owk tnx
+ 3
Both.
CSS is used for the styling of the website, among other neat things.
JavaScript is a client-side programming language, which allows you to do many things as well.
So in short, you need to learn both of them if you want to create a decent modern webpage. If you want a 90s style website, then knock yourself out with HTML only.
+ 2
Umm, yea, right, okay. The point I was making is that you shouldn't compare CSS and JS as if you should use one and not the other. Both are necessary components of modern websites, and both should be used. However, if you're debating between using animation methods from one or the other, then base that upon your situation. Also, check out jQuery, AngularJS, and NodeJS sometime.
Anyways, you may want to check out Bootstrap also.