What is difference between css & JavaScript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

What is difference between css & JavaScript?

sololearn

30th Oct 2018, 8:46 AM
Shweta Soni
Shweta Soni - avatar
9 Answers
+ 14
Let's take a real world example, suppose there is a car , so the coloring to each part of car will decide by #CSS but How the car will move forward, backward, break etc will decided by #JS....in web development. basically, #CSS is for design. #JS is for Behavior.
30th Oct 2018, 11:21 AM
Sin Cos Ø
Sin Cos Ø - avatar
+ 8
really?? Ok.you can use HTML for structure the page,the css the second one for design it,after that JavaScript for behavior the page all commands the page you can use JavaScript or jQuery . The JavaScript's library is jQuery you going to download file Form https://code.jquery.com/jquery-3.3.1.js for use jQuery ,then if you need php for create file or set FTP ,and join database. aaa just that is easy,but it needs a lot of study. 😉😉😉
31st Oct 2018, 5:33 PM
Basel.Al_hajeri?.MBH()
Basel.Al_hajeri?.MBH() - avatar
+ 5
Css help to style web pages 😸 JavaScript make it more interactive 😸
31st Oct 2018, 11:01 AM
Vishnu
Vishnu - avatar
+ 4
Css is mainly used to style the website and Javascript is used to make it interactive
30th Oct 2018, 8:53 AM
PureLogicality
PureLogicality - avatar
+ 3
ok
30th Oct 2018, 3:00 PM
Shweta Soni
Shweta Soni - avatar
+ 2
CSS is used to style up the HTML elements or website whiles Javascript is used for the interactive part of the website like animations
30th Oct 2018, 10:07 AM
Richard Nunoo Clottey
Richard Nunoo Clottey - avatar
+ 2
CSS is used to style websites while JS is used to make them interactive, like boxes you can type in, checkboxes, ETC.
6th Nov 2018, 10:23 PM
P1NBALL72
P1NBALL72 - avatar
+ 1
The CSS is for styling the webpage The JS is for the behavior of the webpage. Though You can use Styling in the JS instead of the CSS but highly not recommended to do.
30th Oct 2018, 8:19 PM
Potato Hacker
Potato Hacker - avatar
+ 1
Like a robot CSS make her look beautiful, JavaScript make her action :)
31st Oct 2018, 7:02 AM
Nguyen Thanh Dat