How to use jave script ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to use jave script ?

I am learning java script but not understanding help me out

23rd Nov 2016, 9:10 AM
Tarun Gupta
Tarun Gupta - avatar
2 Answers
+ 5
To display content on browser page, you need to create the appropriate HTML document. Browser converts the HTML content in to a format which user can visualize and understands easily. To provide the better look and feel, you need to apply styles to your HTML controls. CSS can be useful while defining the complex styles to your controls. JavaScript can be used in combination to HTML and CSS. JavaScript has many advantages to use it. The main advantage is to allow dynamic behavior to your HTML controls. JavaScript is the third course to learn. Request you to complete HTML and CSS first if you want to take full advantage of JavaScript course. Thanks
23rd Nov 2016, 1:01 PM
Ankit Sanghavi
Ankit Sanghavi - avatar
+ 4
js is mainly used to add interactivity to webpage you can use javascript by using <script> javascript codes here </script> tags also you can save js code in separate file and call it by SRC attribute or there is inline scripts also
23rd Nov 2016, 10:37 AM
Sandeep Chatterjee