My question is that: Is javascipt acutually supposed to be joined to HTML AND CSS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

My question is that: Is javascipt acutually supposed to be joined to HTML AND CSS

because we could have all the scripting in HTML

11th Jun 2016, 6:57 AM
Obaidullah Khalid Buksh
Obaidullah Khalid Buksh - avatar
4 Answers
+ 5
HTML and CSS are used for creating static webpages with some animations using CSS3. By adding Javascript web experience improves and hence it is generally added.Simply Javascript is the programming language of the web. It has other uses too like in Node.js(server side environment), web applications ,phone(eg : cross platform apps using phonegap) and desktop applications(using electron)
11th Jun 2016, 2:58 PM
Sumanth Reddy
Sumanth Reddy - avatar
+ 1
thanks
11th Jun 2016, 7:29 AM
Obaidullah Khalid Buksh
Obaidullah Khalid Buksh - avatar
0
you can code javascript in your html file however its cleaner to have it in an external file linked in your html file
11th Jun 2016, 7:28 AM
Matt
0
oh that makes it more clear
11th Jun 2016, 7:28 AM
Obaidullah Khalid Buksh
Obaidullah Khalid Buksh - avatar