Which makes a webpage more responsive CSS or JavaScript. And why | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Which makes a webpage more responsive CSS or JavaScript. And why

7th Jul 2017, 5:11 PM
DeroG
DeroG - avatar
4 Answers
+ 6
I'll go for CSS because it has very good animations and also bcos heavy scripts delay browser loading but not heavy styles
7th Jul 2017, 5:15 PM
DeroG
DeroG - avatar
+ 4
oh owk tnx
9th Jul 2017, 8:07 PM
DeroG
DeroG - avatar
+ 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.
7th Jul 2017, 5:14 PM
AgentSmith
+ 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.
7th Jul 2017, 5:22 PM
AgentSmith